diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-01-05 12:04:32 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-01-05 12:04:53 +0100 |
commit | a10a7920c3ace7cd14f9c3837ec78d049f5bc410 (patch) | |
tree | c27f1f67f2f76ce5be22052434e5e18108cba47d /src/main.cpp | |
parent | 45d13abf4ea1170c49320ef3f5112edf3cf8ef6d (diff) | |
parent | 5246180f168c9b761b6158b0725f5718239ba66c (diff) |
Merge pull request #7217
5246180 Mark blocks with too many sigops as failed (Suhas Daftuar)
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 8f3cea64ac..a38878a4ac 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2978,7 +2978,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; |