test: use constants for CSV/CLTV activation heights in rpc_signrawtransaction

This commit is contained in:
Sebastian Falbesoner
2021-07-26 00:33:58 +02:00
parent 746f203f19
commit 12f094ec21
4 changed files with 13 additions and 6 deletions

View File

@ -9,6 +9,7 @@ Test that the CHECKLOCKTIMEVERIFY soft-fork activates at (regtest) block height
"""
from test_framework.blocktools import (
CLTV_HEIGHT,
create_block,
create_coinbase,
)
@ -31,8 +32,6 @@ from test_framework.wallet import (
MiniWalletMode,
)
CLTV_HEIGHT = 1351
# Helper function to modify a transaction by
# 1) prepending a given script to the scriptSig of vin 0 and