v29.4-roots.2 · Commit 10: [PATCH 10/21] 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. The two line-number columns refer to before and after.
src/test/transaction_tests.cpp
CHANGED
|
@@ -867,7 +867,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
|
|
|
867
867
|
// Test rejectparasites
|
|
868
868
|
t.vout[0].scriptPubKey = CScript() << OP_RETURN;
|
|
869
869
|
t.vout.emplace_back(674, GetScriptForDestination(PKHash(key.GetPubKey())));
|
|
870
|
-
t.nLockTime = 21;
|
|
870
|
+
t.nLockTime = PARASITE_CAT21_LOCKTIME;
|
|
871
871
|
g_mempool_opts.reject_parasites = false;
|
|
872
872
|
CheckIsStandard(t);
|
|
873
873
|
g_mempool_opts.reject_parasites = true;
|