v30.3-roots.1 · Commit 10: [PATCH 10/68] fix: harden Roots priority and wallet policy boundaries
src/test/transaction_tests.cpp
Before: src/test/transaction_tests.cpp · After: src/test/transaction_tests.cpp
File metadata
index c54c13bdbb74ea5e8e1ecfed47aee776714d4047..fa0e2f13aea26e50d85bf7476b4e9ebe60b5301c 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
|
@@ -871,7 +871,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
|
|
|
871
871
|
// Test rejectparasites
|
|
872
872
|
t.vout[0].scriptPubKey = CScript() << OP_RETURN;
|
|
873
873
|
t.vout.emplace_back(674, GetScriptForDestination(PKHash(key.GetPubKey())));
|
|
874
|
-
t.nLockTime = 21;
|
|
874
|
+
t.nLockTime = PARASITE_CAT21_LOCKTIME;
|
|
875
875
|
g_mempool_opts.reject_parasites = false;
|
|
876
876
|
CheckIsStandard(t);
|
|
877
877
|
g_mempool_opts.reject_parasites = true;
|