Skip to content
Browse files
Mark blocks with too many sigops as failed
Github-Pull: #7217
Rebased-From: 5246180
  • Loading branch information
sdaftuar authored and laanwj committed Jan 5, 2016
1 parent 3cb066c commit e08b7cb33ca30e03a4fda2eb13fc101628907258
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2978,7 +2978,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW, bo
return state.DoS(100, error("CheckBlock(): out-of-bounds SigOpCount"),
REJECT_INVALID, "bad-blk-sigops", true);
REJECT_INVALID, "bad-blk-sigops");

if (fCheckPOW && fCheckMerkleRoot)
block.fChecked = true;

0 comments on commit e08b7cb

Please sign in to comment.