From 4d8920c4dd6d8546bd8fac72d070b3f48d0e41bd Mon Sep 17 00:00:00 2001 From: "Owain G. Ainsworth" Date: Wed, 9 Apr 2014 19:32:24 +0100 Subject: [PATCH] Fix up for recent btcec changes. --- address.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/address.go b/address.go index 2de7a4a..5a73bb7 100644 --- a/address.go +++ b/address.go @@ -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,