diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-08-14 15:31:52 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-08-14 15:31:52 -0500 |
commit | 564bb1da3a760834e306906a78301e3be93d9836 (patch) | |
tree | 801f83e7f9ace634c47b403eddac2a2b6762ff87 /utils | |
parent | Merge pull request #5498 (diff) | |
parent | daemon: add more chain specific info in alt_chain_info (diff) | |
download | monero-564bb1da3a760834e306906a78301e3be93d9836.tar.xz |
Merge pull request #5525
0605406 daemon: sort alt chains by height (moneromooo-monero)
4228ee0 daemon: add optional arguments to alt_chain_info (moneromooo-monero)
880ebfd daemon: add more chain specific info in alt_chain_info (moneromooo-monero)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/python-rpc/framework/daemon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/daemon.py b/utils/python-rpc/framework/daemon.py index 18ce37221..20967030a 100644 --- a/utils/python-rpc/framework/daemon.py +++ b/utils/python-rpc/framework/daemon.py @@ -90,11 +90,12 @@ class Daemon(object): } return self.rpc.send_json_rpc_request(getlastblockheader) - def getblockheaderbyhash(self, hash): + def getblockheaderbyhash(self, hash = "", hashes = []): getblockheaderbyhash = { 'method': 'getblockheaderbyhash', 'params': { 'hash': hash, + 'hashes': hashes, }, 'jsonrpc': '2.0', 'id': '0' |