Browse Source

Mark blocks with too many sigops as failed

tags/v0.15.1
Suhas Daftuar 5 years ago
parent
commit
5246180f16
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main.cpp

+ 1
- 1
src/main.cpp View File

@@ -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;

Loading…
Cancel
Save