aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-10 17:20:20 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-10-29 11:52:43 +0000
commit5a44893a71696fb89f51e438b665a9a71db6f3b7 (patch)
tree01d3b951957914a33d6ba474e2698a9558f14df1
parentMerge pull request #6044 (diff)
downloadmonero-5a44893a71696fb89f51e438b665a9a71db6f3b7.tar.xz
python-rpc: add missing strict_balances parameter for get_accounts
-rw-r--r--utils/python-rpc/framework/wallet.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/wallet.py b/utils/python-rpc/framework/wallet.py
index 6a3fabdc9..141e6595c 100644
--- a/utils/python-rpc/framework/wallet.py
+++ b/utils/python-rpc/framework/wallet.py
@@ -838,11 +838,12 @@ class Wallet(object):
}
return self.rpc.send_json_rpc_request(validate_address)
- def get_accounts(self, tag):
+ def get_accounts(self, tag, strict_balances = False):
get_accounts = {
'method': 'get_accounts',
'params': {
'tag': tag,
+ 'strict_balances': strict_balances,
},
'jsonrpc': '2.0',
'id': '0'