From ffc674595cb19b2fdc5705b355bdd3e7f724b860 Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Thu, 2 May 2024 11:21:02 -0600 Subject: Replace remaining "520" magic numbers with MAX_SCRIPT_ELEMENT_SIZE --- test/functional/p2p_segwit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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() -- cgit v1.2.3