diff --git a/crypto/keyring/keyring.go b/crypto/keyring/keyring.go index f16eca046f37..4011b2a2847e 100644 --- a/crypto/keyring/keyring.go +++ b/crypto/keyring/keyring.go @@ -469,11 +469,11 @@ func (ks keystore) Delete(uid string) error { func (ks keystore) KeyByAddress(address sdk.Address) (*Record, error) { ik, err := ks.db.Get(addrHexKeyAsString(address)) if err != nil { - return nil, wrapKeyNotFound(err, fmt.Sprint("key with address", address, "not found")) + return nil, wrapKeyNotFound(err, fmt.Sprint("key with address ", address.String(), "not found")) } if len(ik.Data) == 0 { - return nil, wrapKeyNotFound(err, fmt.Sprint("key with address", address, "not found")) + return nil, wrapKeyNotFound(err, fmt.Sprint("key with address ", address.String(), "not found")) } return ks.Key(string(ik.Data))