From 253d1d50c343963816c796ade94895a849131d08 Mon Sep 17 00:00:00 2001 From: Marku Date: Sun, 2 Jun 2013 19:26:45 -0300 Subject: [PATCH] fix BIP32Sequence::get_pubkey not using mpk parameter --- lib/bitcoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bitcoin.py b/lib/bitcoin.py index b7bc66b6f..46bbcce30 100644 --- a/lib/bitcoin.py +++ b/lib/bitcoin.py @@ -521,7 +521,7 @@ class BIP32Sequence: def get_pubkey(self, sequence, mpk = None): if not mpk: mpk = self.mpk - master_public_key, master_chain = self.mpk + master_public_key, master_chain = mpk K = master_public_key.decode('hex') chain = master_chain.decode('hex') for i in sequence: