git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
496f902
)
fix BIP32Sequence::get_pubkey not using mpk parameter
author
Marku
<matias.romeo@gmail.com>
Sun, 2 Jun 2013 22:26:45 +0000 (19:26 -0300)
committer
Marku
<matias.romeo@gmail.com>
Sun, 2 Jun 2013 22:26:45 +0000 (19:26 -0300)
lib/bitcoin.py
patch
|
blob
|
history
diff --git
a/lib/bitcoin.py
b/lib/bitcoin.py
index
b7bc66b
..
46bbcce
100644
(file)
--- 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: