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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/policy/policy.cpp
CHANGED
|
@@ -223,7 +223,7 @@ bool IsStandardTx(const CTransaction& tx, const StandardnessOptions& opts, std::
|
|
| 223 |
MaybeReject("tx-size");
|
| 224 |
}
|
| 225 |
|
| 226 |
-
if (tx.nLockTime == 21 && opts.reject_parasites) {
|
| 227 |
MaybeReject("parasite-cat21");
|
| 228 |
}
|
| 229 |
|
|
|
|
| 223 |
MaybeReject("tx-size");
|
| 224 |
}
|
| 225 |
|
| 226 |
+
if (tx.nLockTime == PARASITE_CAT21_LOCKTIME && opts.reject_parasites) {
|
| 227 |
MaybeReject("parasite-cat21");
|
| 228 |
}
|
| 229 |
|