More custom error rename (#9227)

automerge
This commit is contained in:
Jack May
2020-04-01 11:13:31 -07:00
committed by GitHub
parent 492b7d5ef9
commit 9aab0b9388
3 changed files with 7 additions and 7 deletions

View File

@ -537,7 +537,7 @@ impl CliConfig<'_> {
if !self.signers.is_empty() {
self.signers[0].try_pubkey()
} else {
Err(SignerError::CustomError(
Err(SignerError::Custom(
"Default keypair must be set if pubkey arg not provided".to_string(),
))
}