Replace remaining "520" magic numbers with MAX_SCRIPT_ELEMENT_SIZE

This commit is contained in:
Jon Atack committed 2024-05-02 13:16:40 -06:00
1 parent 3d28725134
commit ffc674595c
4 files changed
+4 -4

No files matched your search

+1 -1
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()