aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/util.py
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2019-05-20 14:58:09 -0400
committerJohn Newbery <john@johnnewbery.com>2019-08-13 15:53:02 -0400
commit3862e473f0cb71a762c0306b171b591341d58142 (patch)
treed7c981c6fc7292b289bce4fd22eb6f1c5c1a463c /test/functional/test_framework/util.py
parent3a3d8b83571205b8329d4ee25537e3cc4397c3b8 (diff)
downloadbitcoin-3862e473f0cb71a762c0306b171b591341d58142.tar.xz
[rpc] Tidy up reporting of buried and ongoing softforks
This combines reporting of buried (formally ISM) softfork deployments and BIP9 versionbits softfork deployments into one JSON object in the getblockchaininfo return object.
Diffstat (limited to 'test/functional/test_framework/util.py')
-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 efd962ea93..c25698fe89 100644
--- a/test/functional/test_framework/util.py
+++ b/test/functional/test_framework/util.py
@@ -344,7 +344,7 @@ def delete_cookie_file(datadir):
def get_bip9_status(node, key):
info = node.getblockchaininfo()
- return info['bip9_softforks'][key]
+ return info['softforks'][key]['bip9']
def set_node_times(nodes, t):
for node in nodes: