aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2024-05-02 11:21:02 -0600
committerJon Atack <jon@atack.com>2024-05-02 13:16:40 -0600
commitffc674595cb19b2fdc5705b355bdd3e7f724b860 (patch)
tree45857eed446f0a123b87a30ceddc7541ef928317 /src/policy
parent3d28725134df09768780249dc1d974b9cdcc83f1 (diff)
downloadbitcoin-ffc674595cb19b2fdc5705b355bdd3e7f724b860.tar.xz
Replace remaining "520" magic numbers with MAX_SCRIPT_ELEMENT_SIZE
Diffstat (limited to 'src/policy')
-rw-r--r--src/policy/policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp
index d08ec4fb7f..d8b4b907e4 100644
--- a/src/policy/policy.cpp
+++ b/src/policy/policy.cpp
@@ -111,7 +111,7 @@ bool IsStandardTx(const CTransaction& tx, const std::optional<unsigned>& max_dat
for (const CTxIn& txin : tx.vin)
{
// Biggest 'standard' txin involving only keys is a 15-of-15 P2SH
- // multisig with compressed keys (remember the 520 byte limit on
+ // multisig with compressed keys (remember the MAX_SCRIPT_ELEMENT_SIZE byte limit on
// redeemScript size). That works out to a (15*(33+1))+3=513 byte
// redeemScript, 513+1+15*(73+1)+3=1627 bytes of scriptSig, which
// we round off to 1650(MAX_STANDARD_SCRIPTSIG_SIZE) bytes for