Skip to content

Commit

Permalink
Mark blocks with too many sigops as failed
Browse files Browse the repository at this point in the history
  • Loading branch information
sdaftuar committed Dec 15, 2015
1 parent 7a50401 commit 5246180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3005,7 +3005,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, bool fCheckPOW, bo
}
if (nSigOps > MAX_BLOCK_SIGOPS)
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;
Expand Down

0 comments on commit 5246180

Please sign in to comment.