aboutsummaryrefslogtreecommitdiff
path: root/utils/python-rpc/framework
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-05-09 10:13:12 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-06-01 15:43:52 +0000
commit880ebfdeeaceab5e1ca40b748516987e9c6cecb7 (patch)
treebe7689a69fd94de8a0e84d855c3c7c87b851a309 /utils/python-rpc/framework
parent4228ee0b9ee9096cb2a49fd09d88a5f5ae96afc1 (diff)
downloadmonzero-core-880ebfdeeaceab5e1ca40b748516987e9c6cecb7.tar.gz
monzero-core-880ebfdeeaceab5e1ca40b748516987e9c6cecb7.tar.xz
monzero-core-880ebfdeeaceab5e1ca40b748516987e9c6cecb7.zip
daemon: add more chain specific info in alt_chain_info
Diffstat (limited to 'utils/python-rpc/framework')
-rw-r--r--utils/python-rpc/framework/daemon.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/python-rpc/framework/daemon.py b/utils/python-rpc/framework/daemon.py
index 04fc5b5cf..bbdc5a4fa 100644
--- a/utils/python-rpc/framework/daemon.py
+++ b/utils/python-rpc/framework/daemon.py
@@ -88,11 +88,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'