rpc: move softfork info from getblockchaininfo to getdeploymentinfo

This commit is contained in:
Anthony Towns committed 2022-01-15 04:37:56 +10:00
1 parent 7908772244
commit fd826130a0
7 files changed
+95 -36

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ class BIP66Test(BitcoinTestFramework):
return self.miniwallet.create_self_transfer(from_node=self.nodes[0], utxo_to_spend=utxo_to_spend)['tx']
def test_dersig_info(self, *, is_active):
assert_equal(self.nodes[0].getblockchaininfo()['softforks']['bip66'],
assert_equal(self.nodes[0].getdeploymentinfo()['deployments']['bip66'],
{
"active": is_active,
"height": DERSIG_HEIGHT,