Skip to content

Commit b1488c4

Browse files
committed
test: fix reference to block processing test in p2p_segwit.py
The block test was renamed from `p2p-fullblocks.py` to `feature_block.py` in commit ca6523d (PR #11774).
1 parent 01b5cfb commit b1488c4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

test/functional/p2p_segwit.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88
import struct
99
import time
1010

11-
from test_framework.blocktools import create_block, create_coinbase, add_witness_commitment, WITNESS_COMMITMENT_HEADER
11+
from test_framework.blocktools import (
12+
WITNESS_COMMITMENT_HEADER,
13+
add_witness_commitment,
14+
create_block,
15+
create_coinbase,
16+
)
1217
from test_framework.key import ECKey
1318
from test_framework.messages import (
1419
BIP125_SEQUENCE_NUMBER,
@@ -860,7 +865,7 @@ def test_block_malleability(self):
860865
@subtest # type: ignore
861866
def test_witness_block_size(self):
862867
# TODO: Test that non-witness carrying blocks can't exceed 1MB
863-
# Skipping this test for now; this is covered in p2p-fullblocktest.py
868+
# Skipping this test for now; this is covered in feature_block.py
864869

865870
# Test that witness-bearing blocks are limited at ceil(base + wit/4) <= 1MB.
866871
block = self.build_next_block()

0 commit comments

Comments
 (0)