diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-09-08 20:04:00 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-09-08 20:04:00 -0500 |
commit | 93255017622bdfe65717b590ef4938f42f0ec0c8 (patch) | |
tree | 11b4a4baa8a35b69ae9addb6d53f73846c966bc4 /utils | |
parent | Merge pull request #5851 (diff) | |
parent | wallet: fix mismatch between two concepts of "balance" (diff) | |
download | monero-93255017622bdfe65717b590ef4938f42f0ec0c8.tar.xz |
Merge pull request #5855
2ec455d wallet: fix mismatch between two concepts of 'balance' (moneromooo-monero)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/python-rpc/framework/wallet.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py index 36ff3644f..3bbb8b151 100644 --- a/utils/python-rpc/framework/wallet.py +++ b/utils/python-rpc/framework/wallet.py @@ -140,13 +140,14 @@ class Wallet(object): } return self.rpc.send_json_rpc_request(create_wallet) - def get_balance(self, account_index = 0, address_indices = [], all_accounts = False): + def get_balance(self, account_index = 0, address_indices = [], all_accounts = False, strict = False): get_balance = { 'method': 'get_balance', 'params': { 'account_index': account_index, 'address_indices': address_indices, 'all_accounts': all_accounts, + 'strict': strict, }, 'jsonrpc': '2.0', 'id': '0' |