mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
python-rpc: add missing strict_balances parameter for get_accounts
This commit is contained in:
parent
4c9fd8d86d
commit
5a44893a71
@ -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 New Issue
Block a user