1
0

new account creation method (gui)

This commit is contained in:
ThomasV
2013-10-05 17:29:51 +02:00
parent f74aa9ed3a
commit 3a894725ae
2 changed files with 48 additions and 15 deletions

View File

@@ -370,7 +370,7 @@ class Wallet:
self.next_addresses[k] = addr
self.storage.put('next_addresses',self.next_addresses)
return addr
return k, addr
def next_account(self, account_type = '1'):
@@ -769,7 +769,7 @@ class Wallet:
for account_type in ['1','2of2','2of3']:
if not self.has_master_public_keys(account_type):
continue
a = self.new_account_address(account_type)
k, a = self.new_account_address(account_type)
if self.address_is_old(a):
print_error( "creating account", a )
self.create_account(account_type)