mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-01 19:21:28 +02:00
rpc: move softfork info from getblockchaininfo to getdeploymentinfo
This commit is contained in:
@ -270,7 +270,7 @@ class SignRawTransactionsTest(BitcoinTestFramework):
|
||||
getcontext().prec = 8
|
||||
|
||||
# Make sure CSV is active
|
||||
assert self.nodes[0].getblockchaininfo()['softforks']['csv']['active']
|
||||
assert self.nodes[0].getdeploymentinfo()['deployments']['csv']['active']
|
||||
|
||||
# Create a P2WSH script with CSV
|
||||
script = CScript([1, OP_CHECKSEQUENCEVERIFY, OP_DROP])
|
||||
@ -305,7 +305,7 @@ class SignRawTransactionsTest(BitcoinTestFramework):
|
||||
getcontext().prec = 8
|
||||
|
||||
# Make sure CLTV is active
|
||||
assert self.nodes[0].getblockchaininfo()['softforks']['bip65']['active']
|
||||
assert self.nodes[0].getdeploymentinfo()['deployments']['bip65']['active']
|
||||
|
||||
# Create a P2WSH script with CLTV
|
||||
script = CScript([100, OP_CHECKLOCKTIMEVERIFY, OP_DROP])
|
||||
|
Reference in New Issue
Block a user