Skip to content
Bitcoin Roots

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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/policy/policy.cpp CHANGED
@@ -219,7 +219,7 @@ bool IsStandardTx(const CTransaction& tx, const StandardnessOptions& opts, std::
219
  MaybeReject("tx-size");
220
  }
221
 
222
- if (tx.nLockTime == 21 && opts.reject_parasites) {
223
  MaybeReject("parasite-cat21");
224
  }
225
 
 
219
  MaybeReject("tx-size");
220
  }
221
 
222
+ if (tx.nLockTime == PARASITE_CAT21_LOCKTIME && opts.reject_parasites) {
223
  MaybeReject("parasite-cat21");
224
  }
225