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

This commit is contained in:
Sebastian Falbesoner committed 2021-07-27 00:14:57 +02:00
1 parent 746f203f19
commit 12f094ec21
4 files changed
+13 -6

No files matched your search

@@ -55,6 +55,10 @@ TIME_GENESIS_BLOCK = 1296688602
# Coinbase transaction outputs can only be spent after this number of new blocks (network rule)
COINBASE_MATURITY = 100
# Soft-fork activation heights
CLTV_HEIGHT = 1351
CSV_ACTIVATION_HEIGHT = 432
# From BIP141
WITNESS_COMMITMENT_HEADER = b"\xaa\x21\xa9\xed"