mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-04 15:15:37 +02:00
rpc: move softfork info from getblockchaininfo to getdeploymentinfo
This commit is contained in:
@@ -438,7 +438,7 @@ def delete_cookie_file(datadir, chain):
|
||||
|
||||
def softfork_active(node, key):
|
||||
"""Return whether a softfork is active."""
|
||||
return node.getblockchaininfo()['softforks'][key]['active']
|
||||
return node.getdeploymentinfo()['deployments'][key]['active']
|
||||
|
||||
|
||||
def set_node_times(nodes, t):
|
||||
|
Reference in New Issue
Block a user