v30.3-roots.1 · Commit 3: [PATCH 03/68] feat(policy): preserve Roots relay and network controls on Core 30.3
src/test/txpackage_tests.cpp
Before: src/test/txpackage_tests.cpp · After: src/test/txpackage_tests.cpp
File metadata
index 1f167586fe9dc1b00d52e6c4269b069db03d49d3..4f4435de3423b4a3af87a12583dbf9080c00ea6b 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/txpackage_tests.cpp
CHANGED
|
@@ -437,7 +437,7 @@ BOOST_AUTO_TEST_CASE(package_submission_tests)
|
|
|
437
437
|
auto it_parent = result_quit_early.m_tx_results.find(tx_parent_invalid->GetWitnessHash());
|
|
438
438
|
auto it_child = result_quit_early.m_tx_results.find(tx_child->GetWitnessHash());
|
|
439
439
|
BOOST_CHECK_EQUAL(it_parent->second.m_state.GetResult(), TxValidationResult::TX_WITNESS_MUTATED);
|
|
440
|
-
BOOST_CHECK_EQUAL(it_parent->second.m_state.GetRejectReason(), "bad-witness-nonstandard");
|
|
440
|
+
BOOST_CHECK_EQUAL(it_parent->second.m_state.GetRejectReason(), "bad-witness-nonwitness-input");
|
|
441
441
|
BOOST_CHECK_EQUAL(it_child->second.m_state.GetResult(), TxValidationResult::TX_MISSING_INPUTS);
|
|
442
442
|
BOOST_CHECK_EQUAL(it_child->second.m_state.GetRejectReason(), "bad-txns-inputs-missingorspent");
|
|
443
443
|
}
|