From 9c34f9a1daffa51d6727711be64a76900aaea929 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Thu, 3 Apr 2014 14:17:42 +0200 Subject: [PATCH] fix: getpubkey --- lib/account.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/account.py b/lib/account.py index 3b7ca9e..dfb7bd9 100644 --- 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 -- 1.7.1