Replace remaining "520" magic numbers with MAX_SCRIPT_ELEMENT_SIZE

This commit is contained in:
Jon Atack
2024-05-02 11:21:02 -06:00
parent 3d28725134
commit ffc674595c
4 changed files with 4 additions and 4 deletions

View File

@ -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()