mirror of
https://github.com/monero-project/monero.git
synced 2025-05-02 08:16:07 -04:00
Merge pull request #5490
1a93aa4
functional_tests: add get_fee_estimate to blockchain test (moneromooo-monero)
This commit is contained in:
commit
50c8147568
2 changed files with 23 additions and 0 deletions
|
@ -333,3 +333,14 @@ class Daemon(object):
|
|||
'id': '0'
|
||||
}
|
||||
return self.rpc.send_json_rpc_request(get_alternate_chains)
|
||||
|
||||
def get_fee_estimate(self, grace_blocks = 0):
|
||||
get_fee_estimate = {
|
||||
'method': 'get_fee_estimate',
|
||||
'params': {
|
||||
'grace_blocks': grace_blocks,
|
||||
},
|
||||
'jsonrpc': '2.0',
|
||||
'id': '0'
|
||||
}
|
||||
return self.rpc.send_json_rpc_request(get_fee_estimate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue