aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_segwit.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2024-05-02 11:21:02 -0600
committerJon Atack <jon@atack.com>2024-05-02 13:16:40 -0600
commitffc674595cb19b2fdc5705b355bdd3e7f724b860 (patch)
tree45857eed446f0a123b87a30ceddc7541ef928317 /test/functional/p2p_segwit.py
parent3d28725134df09768780249dc1d974b9cdcc83f1 (diff)
Replace remaining "520" magic numbers with MAX_SCRIPT_ELEMENT_SIZE
Diffstat (limited to 'test/functional/p2p_segwit.py')
-rwxr-xr-xtest/functional/p2p_segwit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/p2p_segwit.py b/test/functional/p2p_segwit.py
index 213c748eda..45bbd7f1c3 100755
--- a/test/functional/p2p_segwit.py
+++ b/test/functional/p2p_segwit.py
@@ -1054,7 +1054,7 @@ class SegWitTest(BitcoinTestFramework):
@subtest
def test_max_witness_push_length(self):
- """Test that witness stack can only allow up to 520 byte pushes."""
+ """Test that witness stack can only allow up to MAX_SCRIPT_ELEMENT_SIZE byte pushes."""
block = self.build_next_block()