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 | cdbb225da3c1698d102b0d686333a995af8a6329 (diff) | |
| parent | 2ec455df1f82148733c4ac268d22e9c51a690b14 (diff) | |
| download | monzero-core-93255017622bdfe65717b590ef4938f42f0ec0c8.tar.gz monzero-core-93255017622bdfe65717b590ef4938f42f0ec0c8.tar.xz monzero-core-93255017622bdfe65717b590ef4938f42f0ec0c8.zip | |
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' |
