commit 063fc4bb2edcf38ff87b77f6ea21553e2762ac27
parent 2ff401919b41b0b6275efacf731c40eed07b32c4
Author: ThomasV <thomasv@gitorious>
Date: Fri, 24 Oct 2014 18:50:57 +0200
fix #895
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1403,7 +1403,7 @@ class BIP32_HD_Wallet(BIP32_Wallet):
self.save_accounts()
def create_pending_account(self, name, password):
- next_id, next_xpub, next_address = self.next_account if self.next_account else self.get_next_account_address(password)
+ next_id, next_xpub, next_address = self.next_account if self.next_account else self.get_next_account(password)
self.set_label(next_id, name)
self.accounts[next_id] = PendingAccount({'pending':next_address})
self.save_accounts()