Skip to content

Commit

Permalink
python-rpc: add missing strict_balances parameter for get_accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
moneromooo-monero committed Oct 29, 2019
1 parent 4c9fd8d commit 5a44893
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/python-rpc/framework/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,11 +838,12 @@ def validate_address(self, address, any_net_type = False, allow_openalias = Fals
}
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'
Expand Down

0 comments on commit 5a44893

Please sign in to comment.