Replace remaining "520" magic numbers with MAX_SCRIPT_ELEMENT_SIZE
This commit is contained in:
1 parent
3d28725134
commit
ffc674595c
4 files changed
+4
-4
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user