aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/test_framework/wallet.py
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-21 23:21:12 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-22 15:29:44 +0000
commitfdfa832f0004278d74b4ec479a743acd0bc2582c (patch)
tree6a9fa7c391a80ba90aba6afb9b8d251fd49737a3 /tests/functional_tests/test_framework/wallet.py
parentfunctional_tests: add proofs tests (tx key, in/out tx, reserve) (diff)
downloadmonero-fdfa832f0004278d74b4ec479a743acd0bc2582c.tar.xz
functional_tests: add missing parameters to get_balance
Diffstat (limited to 'tests/functional_tests/test_framework/wallet.py')
-rw-r--r--tests/functional_tests/test_framework/wallet.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/functional_tests/test_framework/wallet.py b/tests/functional_tests/test_framework/wallet.py
index 7b19c4d55..e9f13667b 100644
--- a/tests/functional_tests/test_framework/wallet.py
+++ b/tests/functional_tests/test_framework/wallet.py
@@ -125,9 +125,14 @@ class Wallet(object):
}
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 = {
'method': 'get_balance',
+ 'params': {
+ 'account_index': account_index,
+ 'address_indices': address_indices,
+ 'all_accounts': all_accounts,
+ },
'jsonrpc': '2.0',
'id': '0'
}