aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-01-05 12:04:32 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-01-05 12:04:53 +0100
commita10a7920c3ace7cd14f9c3837ec78d049f5bc410 (patch)
treec27f1f67f2f76ce5be22052434e5e18108cba47d
parent45d13abf4ea1170c49320ef3f5112edf3cf8ef6d (diff)
parent5246180f168c9b761b6158b0725f5718239ba66c (diff)
Merge pull request #7217
5246180 Mark blocks with too many sigops as failed (Suhas Daftuar)
-rw-r--r--src/main.cpp2
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;