mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
[test]: remove duplicate WITNESS_SCALE_FACTOR
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user