To output CValidationState info.
This includes the reject reason and code as well as debug info.
Previously converted in #12356, but these snuck in since.
According to the guidelines, code changes are not [trivial]
3076 | @@ -3077,7 +3077,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P 3077 | for (const auto& tx : block.vtx) 3078 | if (!CheckTransaction(*tx, state, false)) 3079 | return state.Invalid(false, state.GetRejectCode(), state.GetRejectReason(), 3080 | - strprintf("Transaction check failed (tx hash %s) %s", tx->GetHash().ToString(), state.GetDebugMessage())); 3081 | + strprintf("Transaction check failed (tx hash %s) (%s)", tx->GetHash().ToString(), FormatStateMessage(state)));
Oh just realized this change is mistaken. Will revise.
To output CValidationState info.
This includes the reject reason and code as well as debug info.
Closing as inconsequential.