commit 9c34f9a1daffa51d6727711be64a76900aaea929
parent f68ecb3e26e25d0dcd5381357b30250373f4c9dc
Author: ThomasV <thomasv@gitorious>
Date: Thu, 3 Apr 2014 14:17:42 +0200
fix: getpubkey
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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