mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-15 14:21:22 +00:00
Remove error from priv.PubKey() (#131)
* Remove error from priv.PubKey() * Update changelog
This commit is contained in:
committed by
Ismail Khoffi
parent
42c6a64e04
commit
8e273220a3
@ -91,8 +91,7 @@ func TestKeyEncodings(t *testing.T) {
|
||||
assert.EqualValues(t, sig1, sig3)
|
||||
|
||||
// Check (de/en)codings of PubKeys.
|
||||
pubKey, err := tc.privKey.PubKey()
|
||||
assert.NoError(t, err)
|
||||
pubKey := tc.privKey.PubKey()
|
||||
var pub2, pub3 PubKey
|
||||
checkAminoBinary(t, pubKey, &pub2, tc.pubSize)
|
||||
assert.EqualValues(t, pubKey, pub2)
|
||||
|
Reference in New Issue
Block a user