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
|
netID = TestNetAddr
|
||||||
}
|
}
|
||||||
|
|
||||||
ecPubKey := (*btcec.PublicKey)(pubKey)
|
ecPubKey := pubKey
|
||||||
return &AddressPubKey{
|
return &AddressPubKey{
|
||||||
pubKeyFormat: pkFormat,
|
pubKeyFormat: pkFormat,
|
||||||
pubKey: ecPubKey,
|
pubKey: ecPubKey,
|
||||||
|
|
Loading…
Add table
Reference in a new issue