Merge pull request #6056

5a44893 python-rpc: add missing strict_balances parameter for get_accounts (moneromooo-monero)
This commit is contained in:
luigi1111 2019-12-12 13:48:15 -06:00
commit 9d0d4f1d08
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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'