Skip to content

Commit 5485fde

Browse files
committed
re-enable add checks for CCheckQueueControl in connectblock
1 parent 0916a2a commit 5485fde

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/validation.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3029,11 +3029,8 @@ bool Chainstate::ConnectBlock(const CBlock& block, BlockValidationState& state,
30293029
tx_state.GetDebugMessage() + " in transaction " + tx.GetHash().ToString());
30303030
break;
30313031
}
3032-
// control.Add(vChecks);
3033-
//
3034-
// if (!MoneyRange(fee_map)) {
3035-
// LogPrintf("ERROR: %s: accumulated fee in the block out of range.\n", __func__);
3036-
// return state.Invalid(BlockValidationResult::BLOCK_CONSENSUS, "bad-txns-accumulated-fee-outofrange");
3032+
control.Add(vChecks);
3033+
30373034
if (!MoneyRange(fee_map)) {
30383035
state.Invalid(BlockValidationResult::BLOCK_CONSENSUS, "bad-txns-accumulated-fee-outofrange",
30393036
"accumulated fee in the block out of range");

0 commit comments

Comments
 (0)