v29.4-roots.1 · Commit 10: [PATCH 10/13] fix: harden final Roots assurance
src/test/transaction_tests.cpp
Before: src/test/transaction_tests.cpp · After: src/test/transaction_tests.cpp
File metadata
index c0d7f0d29e90caba9047994fa7405b85e72ef193..8efff70c4fb6b4b18a106f96d3c784e36385bdfd 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/test/transaction_tests.cpp
CHANGED
|
@@ -867,7 +867,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
|
|
| 867 |
// Test rejectparasites
|
| 868 |
t.vout[0].scriptPubKey = CScript() << OP_RETURN;
|
| 869 |
t.vout.emplace_back(674, GetScriptForDestination(PKHash(key.GetPubKey())));
|
| 870 |
-
t.nLockTime = 21;
|
| 871 |
g_mempool_opts.reject_parasites = false;
|
| 872 |
CheckIsStandard(t);
|
| 873 |
g_mempool_opts.reject_parasites = true;
|
|
|
|
| 867 |
// Test rejectparasites
|
| 868 |
t.vout[0].scriptPubKey = CScript() << OP_RETURN;
|
| 869 |
t.vout.emplace_back(674, GetScriptForDestination(PKHash(key.GetPubKey())));
|
| 870 |
+
t.nLockTime = PARASITE_CAT21_LOCKTIME;
|
| 871 |
g_mempool_opts.reject_parasites = false;
|
| 872 |
CheckIsStandard(t);
|
| 873 |
g_mempool_opts.reject_parasites = true;
|