|
|
|
@ -3032,7 +3032,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P
@@ -3032,7 +3032,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P
|
|
|
|
|
|
|
|
|
|
// Check transactions
|
|
|
|
|
for (const auto& tx : block.vtx) |
|
|
|
|
if (!CheckTransaction(*tx, state, false)) |
|
|
|
|
if (!CheckTransaction(*tx, state, true)) |
|
|
|
|
return state.Invalid(false, state.GetRejectCode(), state.GetRejectReason(), |
|
|
|
|
strprintf("Transaction check failed (tx hash %s) %s", tx->GetHash().ToString(), state.GetDebugMessage())); |
|
|
|
|
|
|
|
|
|