From 880ebfdeeaceab5e1ca40b748516987e9c6cecb7 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 9 May 2019 10:13:12 +0000 Subject: daemon: add more chain specific info in alt_chain_info --- utils/python-rpc/framework/daemon.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/python-rpc') 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' -- cgit v1.2.3