mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
functional_tests: add missing parameters to get_balance
This commit is contained in:
parent
cf6d775964
commit
fdfa832f00
1 changed files with 6 additions and 1 deletions
|
@ -125,9 +125,14 @@ class Wallet(object):
|
||||||
}
|
}
|
||||||
return self.rpc.send_json_rpc_request(create_wallet)
|
return self.rpc.send_json_rpc_request(create_wallet)
|
||||||
|
|
||||||
def get_balance(self):
|
def get_balance(self, account_index = 0, address_indices = [], all_accounts = False):
|
||||||
get_balance = {
|
get_balance = {
|
||||||
'method': 'get_balance',
|
'method': 'get_balance',
|
||||||
|
'params': {
|
||||||
|
'account_index': account_index,
|
||||||
|
'address_indices': address_indices,
|
||||||
|
'all_accounts': all_accounts,
|
||||||
|
},
|
||||||
'jsonrpc': '2.0',
|
'jsonrpc': '2.0',
|
||||||
'id': '0'
|
'id': '0'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue