|
|
@ -51,7 +51,7 @@ class Wallet(object):
|
|
|
|
|
|
|
|
|
|
|
|
def new_account(self, label=None):
|
|
|
|
def new_account(self, label=None):
|
|
|
|
_account = self.make_wallet_rpc('create_account', {'label': label})
|
|
|
|
_account = self.make_wallet_rpc('create_account', {'label': label})
|
|
|
|
return _account['account_index']
|
|
|
|
return (_account['account_index'], _account['address'])
|
|
|
|
|
|
|
|
|
|
|
|
def addresses(self, account, addr_indices=None):
|
|
|
|
def addresses(self, account, addr_indices=None):
|
|
|
|
qdata = {'account_index': account}
|
|
|
|
qdata = {'account_index': account}
|
|
|
|