Skip to content

Commit c1d382f

Browse files
committed
fix(test_scripts): always set witness_override to 2
Previously, witness_override was conditionally set based on address_type. This change ensures witness_override is always set to 2 which avoids FeeTooSmall errors on Preview testnet.
1 parent 5a74ebe commit c1d382f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cardano_node_tests/tests/test_scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2584,7 +2584,7 @@ def test_spend_reference_script(
25842584
txins=[reference_utxo],
25852585
txouts=txouts,
25862586
tx_files=tx_files,
2587-
witness_override=2 if address_type == "byron" else None,
2587+
witness_override=2,
25882588
byron_witness_count=1 if address_type == "byron" else 0,
25892589
)
25902590

0 commit comments

Comments
 (0)