Fix up for recent btcec changes.

This commit is contained in:
Owain G. Ainsworth 2014-04-09 19:32:24 +01:00
parent 050373543d
commit 4d8920c4dd

View file

@ -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,