-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: abort if the private key is different from existed account (#265)
* fix: don't create account automatically Currently, we automatically create account when no private key is provided and there is not account in keystore. This behavior may lead to mistakes when setting up node, so we remove this behavior in this commit. * fix: abort if the private key is different from existed account This commit creates a subcommand check in account command of Ronin to check if the corresponding account of provided private key exist in the imported account. When starting Ronin from entrypoint.sh, if the provided private key is different from imported account, the process is aborted.
- Loading branch information
Showing
2 changed files
with
72 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters