git://git.novaco.in
/
electrum-nvc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f68ecb3
)
fix: getpubkey
author
ThomasV
<thomasv@gitorious>
Thu, 3 Apr 2014 12:17:42 +0000 (14:17 +0200)
committer
ThomasV
<thomasv@gitorious>
Thu, 3 Apr 2014 12:17:42 +0000 (14:17 +0200)
lib/account.py
patch
|
blob
|
history
diff --git
a/lib/account.py
b/lib/account.py
index
3b7ca9e
..
dfb7bd9
100644
(file)
--- a/
lib/account.py
+++ b/
lib/account.py
@@
-140,7
+140,7
@@
class BIP32_Account(Account):
return d
def get_address(self, for_change, n):
- pubkey = self.get_pubkey(for_change, n)
+ pubkey = self.get_pubkey(self.xpub, for_change, n)
address = public_key_to_bc_address( pubkey.decode('hex') )
return address