mirror of
https://github.com/monero-project/monero.git
synced 2025-12-10 07:22:34 +01:00
daemon: add more chain specific info in alt_chain_info
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user