0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-02 09:46:52 -05:00

[test]: remove duplicate WITNESS_SCALE_FACTOR

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

View file

@ -10,7 +10,6 @@ from test_framework.blocktools import (
create_block,
add_witness_commitment,
MAX_BLOCK_SIGOPS_WEIGHT,
WITNESS_SCALE_FACTOR,
)
from test_framework.messages import (
COutPoint,
@ -20,6 +19,7 @@ from test_framework.messages import (
CTxOut,
SEQUENCE_FINAL,
tx_from_hex,
WITNESS_SCALE_FACTOR,
)
from test_framework.script import (
ANNEX_TAG,

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