v31.1-roots.1 · Commit 2: [PATCH 02/17] feat(policy): preserve Roots parsing and local transaction checks
src/test/txpackage_tests.cpp
Before: src/test/txpackage_tests.cpp · After: src/test/txpackage_tests.cpp
File metadata
index 06c5816b72d8d1d15996e6f6162d5b218a971283..a96bb9001a35cece3c4634f4b5d2ec891ac18dd7 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
|
@@ -438,7 +438,7 @@ BOOST_AUTO_TEST_CASE(package_submission_tests)
|
|
|
438
438
|
auto it_parent = result_quit_early.m_tx_results.find(tx_parent_invalid->GetWitnessHash());
|
|
439
439
|
auto it_child = result_quit_early.m_tx_results.find(tx_child->GetWitnessHash());
|
|
440
440
|
BOOST_CHECK_EQUAL(it_parent->second.m_state.GetResult(), TxValidationResult::TX_WITNESS_MUTATED);
|
|
441
|
-
BOOST_CHECK_EQUAL(it_parent->second.m_state.GetRejectReason(), "bad-witness-nonstandard");
|
|
441
|
+
BOOST_CHECK_EQUAL(it_parent->second.m_state.GetRejectReason(), "bad-witness-nonwitness-input");
|
|
442
442
|
BOOST_CHECK_EQUAL(it_child->second.m_state.GetResult(), TxValidationResult::TX_MISSING_INPUTS);
|
|
443
443
|
BOOST_CHECK_EQUAL(it_child->second.m_state.GetRejectReason(), "bad-txns-inputs-missingorspent");
|
|
444
444
|
}
|