v30.3-roots.1 · Commit 10: [PATCH 10/68] fix: harden Roots priority and wallet policy boundaries
src/policy/policy.cpp
Before: src/policy/policy.cpp · After: src/policy/policy.cpp
File metadata
index 3f2353c0604cf04365dfcc539d081309847d9c6c..43aea977dd16cba5b682727d634928ecca4ca8e0 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
|
@@ -219,7 +219,7 @@ bool IsStandardTx(const CTransaction& tx, const StandardnessOptions& opts, std::
|
|
|
219
219
|
MaybeReject("tx-size");
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
if (tx.nLockTime == 21 && opts.reject_parasites) {
|
|
222
|
+
if (tx.nLockTime == PARASITE_CAT21_LOCKTIME && opts.reject_parasites) {
|
|
223
223
|
MaybeReject("parasite-cat21");
|
|
224
224
|
}
|
|
225
225
|
|