Page MenuHomePhabricator

refactor: Use proper MAX_SCRIPT_ELEMENT_SIZE const
ClosedPublic

Authored by PiRK on Sep 25 2020, 09:55.

Details

Reviewers
Fabien
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Restricted Project
Commits
rABC410759abbd07: refactor: Use proper MAX_SCRIPT_ELEMENT_SIZE const
Summary

This PR replaces well-known "magic" numbers with proper MAX_SCRIPT_ELEMENT_SIZE constants.

Backport of Bitcoin Core PR17439

Test Plan

ninja && ninja check

Diff Detail

Event Timeline

Owners added a reviewer: Restricted Owners Package.Sep 25 2020, 09:55
PiRK requested review of this revision.Sep 25 2020, 09:55

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Sep 25 2020, 10:11