Fix up for recent btcec changes.
This commit is contained in:
parent
050373543d
commit
4d8920c4dd
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ func NewAddressPubKey(serializedPubKey []byte, net btcwire.BitcoinNet) (*Address
|
|||
netID = TestNetAddr
|
||||
}
|
||||
|
||||
ecPubKey := (*btcec.PublicKey)(pubKey)
|
||||
ecPubKey := pubKey
|
||||
return &AddressPubKey{
|
||||
pubKeyFormat: pkFormat,
|
||||
pubKey: ecPubKey,
|
||||
|
|
Loading…
Reference in a new issue