[test]: remove duplicate WITNESS_SCALE_FACTOR

This commit is contained in:
ismaelsadeeq committed 2024-05-03 10:30:50 +01:00
1 parent 99d7538cdb
commit af3c18169a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -28,6 +28,7 @@ from .messages import (
ser_uint256,
tx_from_hex,
uint256_from_str,
WITNESS_SCALE_FACTOR,
)
from .script import (
CScript,
@@ -45,7 +46,6 @@ from .script_util import (
)
from .util import assert_equal
WITNESS_SCALE_FACTOR = 4
MAX_BLOCK_SIGOPS = 20000
MAX_BLOCK_SIGOPS_WEIGHT = MAX_BLOCK_SIGOPS * WITNESS_SCALE_FACTOR