Skip to content

cmd/faucet: delete old keystore when importing new faucet key#21173

Merged
karalabe merged 1 commit intoethereum:masterfrom
karalabe:faucet-delete-oldaccs
Jun 4, 2020
Merged

cmd/faucet: delete old keystore when importing new faucet key#21173
karalabe merged 1 commit intoethereum:masterfrom
karalabe:faucet-delete-oldaccs

Conversation

@karalabe
Copy link
Copy Markdown
Member

@karalabe karalabe commented Jun 4, 2020

Fixes #21166 again.

This PR modified the account import so that if an old account already exists, it at least tells us what the address is. The URL we're not able to return if there are multiple old accounts existing. Maybe in that case we should error out with an even fancier issue, but that's getting even more messy that we currently are.

If there's only one previously existing account, then keystore operations will still succeed without the URL, so that should be fine-ish. This whole scenario is a bit messy tbh.

@karalabe karalabe added this to the 1.9.15 milestone Jun 4, 2020
@karalabe karalabe merged commit cefa2ab into ethereum:master Jun 4, 2020
gzliudan added a commit to gzliudan/XDPoSChain that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rinkeby Faucet: No Ethereum address found to fund

1 participant