mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-29 20:51:45 +00:00
Improve error message
This commit is contained in:
@ -55,7 +55,7 @@ func (e secretbox) Decrypt(saltBytes []byte, encBytes []byte, passphrase string)
|
||||
}
|
||||
privKey, err = crypto.PrivKeyFromBytes(privKeyBytes)
|
||||
if err != nil {
|
||||
return crypto.PrivKey{}, errors.Wrap(err, "Couldn't get privKey from bytes")
|
||||
return crypto.PrivKey{}, errors.Wrap(err, "Private Key")
|
||||
}
|
||||
return privKey, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user