mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-23 13:47:47 +00:00
Merge pull request #6056
5a44893
python-rpc: add missing strict_balances parameter for get_accounts (moneromooo-monero)
This commit is contained in:
commit
9d0d4f1d08
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