mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
python-rpc: add missing strict_balances parameter for get_accounts
This commit is contained in:
parent
4c9fd8d86d
commit
5a44893a71
1 changed files with 2 additions and 1 deletions
|
@ -838,11 +838,12 @@ class Wallet(object):
|
||||||
}
|
}
|
||||||
return self.rpc.send_json_rpc_request(validate_address)
|
return self.rpc.send_json_rpc_request(validate_address)
|
||||||
|
|
||||||
def get_accounts(self, tag):
|
def get_accounts(self, tag, strict_balances = False):
|
||||||
get_accounts = {
|
get_accounts = {
|
||||||
'method': 'get_accounts',
|
'method': 'get_accounts',
|
||||||
'params': {
|
'params': {
|
||||||
'tag': tag,
|
'tag': tag,
|
||||||
|
'strict_balances': strict_balances,
|
||||||
},
|
},
|
||||||
'jsonrpc': '2.0',
|
'jsonrpc': '2.0',
|
||||||
'id': '0'
|
'id': '0'
|
||||||
|
|
Loading…
Reference in a new issue