Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accountcmd: return error instead of exit in loadBlsSecretKey (#444)
loadBlsSecretKey is called in `account generate-bls-proof` to support loading BLS secret key from file. But this command also supports loading secret key from keystore. In that case, no keyfile is given and this function should return error so the command can handle the error and switch to load secret key from keystore instead of exit.
- Loading branch information