Skip to content

Commit

Permalink
Update crypto/keyring/keyring.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Christoffersen <12519942+ryanchristo@users.noreply.github.com>
  • Loading branch information
fedekunze and ryanchristo authored Jul 28, 2021
1 parent b7ba512 commit 5565fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/keyring/keyring.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ func (ks keystore) SignByAddress(address sdk.Address, msg []byte) ([]byte, types
func (ks keystore) SaveLedgerKey(uid string, algo SignatureAlgo, hrp string, coinType, account, index uint32) (Info, error) {
if !ks.options.SupportedAlgosLedger.Contains(algo) {
return nil, fmt.Errorf(
"signature algo %s is not defined in the keyring options: %w",
algo.Name(), ErrUnsupportedSigningAlgo,
"%w: signature algo %s is not defined in the keyring options",
ErrUnsupportedSigningAlgo, algo.Name(),
)
}

Expand Down

0 comments on commit 5565fa0

Please sign in to comment.