mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 18:21:38 +00:00
Use new naming scheme PubKey{PubKeyInner}
This commit is contained in:
@ -31,7 +31,7 @@ func TestPubKeySecp256k1Address(t *testing.T) {
|
||||
var priv PrivKeySecp256k1
|
||||
copy(priv[:], privB)
|
||||
|
||||
pubT := priv.PubKey().(PubKeySecp256k1)
|
||||
pubT := priv.PubKey().Unwrap().(PubKeySecp256k1)
|
||||
pub := pubT[:]
|
||||
addr := priv.PubKey().Address()
|
||||
|
||||
|
Reference in New Issue
Block a user