Fix TestStdSignatureMarshalYAML

This commit is contained in:
Aleksandr Bezobchuk
2020-03-12 13:52:55 -04:00
parent 53a43dc2a1
commit 5513927778
+1 -1
View File
@@ -153,7 +153,7 @@ func TestStdSignatureMarshalYAML(t *testing.T) {
},
{
StdSignature{PubKey: pubKey.Bytes(), Signature: []byte("dummySig")},
fmt.Sprintf("|\n pubkey: %s\n signature: dummySig\n", sdk.MustBech32ifyPubKey(sdk.Bech32PubKeyTypeAccPub, pubKey)),
fmt.Sprintf("|\n pubkey: %s\n signature: 64756D6D79536967\n", sdk.MustBech32ifyPubKey(sdk.Bech32PubKeyTypeAccPub, pubKey)),
},
{
StdSignature{PubKey: pubKey.Bytes(), Signature: nil},