aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2021-12-01 17:46:21 +1000
committerAnthony Towns <aj@erisian.com.au>2022-01-15 04:37:56 +1000
commitfd826130a0a4e67fdc26f8064f4ecb4ff79b3333 (patch)
tree1791e3fcff6b81eae66b4048230c4f24cefedc09 /test/functional/test_framework
parent7908772244b90884249da90e05f0044cc7d555dd (diff)
downloadbitcoin-fd826130a0a4e67fdc26f8064f4ecb4ff79b3333.tar.xz
rpc: move softfork info from getblockchaininfo to getdeploymentinfo
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r--test/functional/test_framework/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/util.py b/test/functional/test_framework/util.py
index c3a9029d55..059d3c3526 100644
--- a/test/functional/test_framework/util.py
+++ b/test/functional/test_framework/util.py
@@ -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):