v29.4-roots.3 · Commit 10: [PATCH 10/30] fix: harden final Roots assurance
src/policy/policy.cpp
Before: src/policy/policy.cpp · After: src/policy/policy.cpp
File metadata
index b5d3a1436b225716992f271814b37c0d63e0b3db..adf943b2dd749fe8aa6c2722429aab54858a53f6 100644
Download original patch · Release notes
Diff rows 1–8 of 8. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/policy/policy.cpp
CHANGED
|
@@ -223,7 +223,7 @@ bool IsStandardTx(const CTransaction& tx, const StandardnessOptions& opts, std::
|
|
|
223
223
|
MaybeReject("tx-size");
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
-
if (tx.nLockTime == 21 && opts.reject_parasites) {
|
|
226
|
+
if (tx.nLockTime == PARASITE_CAT21_LOCKTIME && opts.reject_parasites) {
|
|
227
227
|
MaybeReject("parasite-cat21");
|
|
228
228
|
}
|
|
229
229
|
|