mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
re-enable add checks for CCheckQueueControl in connectblock
This commit is contained in:
parent
0916a2acfb
commit
5485fde8e1
1 changed files with 2 additions and 5 deletions
|
|
@ -3029,11 +3029,8 @@ bool Chainstate::ConnectBlock(const CBlock& block, BlockValidationState& state,
|
|||
tx_state.GetDebugMessage() + " in transaction " + tx.GetHash().ToString());
|
||||
break;
|
||||
}
|
||||
// control.Add(vChecks);
|
||||
//
|
||||
// if (!MoneyRange(fee_map)) {
|
||||
// LogPrintf("ERROR: %s: accumulated fee in the block out of range.\n", __func__);
|
||||
// return state.Invalid(BlockValidationResult::BLOCK_CONSENSUS, "bad-txns-accumulated-fee-outofrange");
|
||||
control.Add(vChecks);
|
||||
|
||||
if (!MoneyRange(fee_map)) {
|
||||
state.Invalid(BlockValidationResult::BLOCK_CONSENSUS, "bad-txns-accumulated-fee-outofrange",
|
||||
"accumulated fee in the block out of range");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue