This commit is contained in:
ThomasV 2014-10-24 18:50:57 +02:00
parent 2ff401919b
commit 063fc4bb2e
1 changed files with 1 additions and 1 deletions

View File

@ -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()