Use new naming scheme PubKey{PubKeyInner}

This commit is contained in:
Ethan Frey
2017-04-10 19:51:01 +02:00
parent 750b25c47a
commit 66ecd7705f
7 changed files with 124 additions and 107 deletions
+1 -1
View File
@@ -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()