python-rpc: add missing strict_balances parameter for get_accounts

This commit is contained in:
moneromooo-monero 2019-05-10 17:20:20 +00:00
parent 4c9fd8d86d
commit 5a44893a71
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -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'