aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2015-12-15 15:40:50 -0500
committerWladimir J. van der Laan <laanwj@gmail.com>2016-01-05 12:05:28 +0100
commite08b7cb33ca30e03a4fda2eb13fc101628907258 (patch)
treeb58def2fd25a9bd328813fe60012f109f16c0a65 /src
parent3cb066c62b98acac3c9323082094ccc6ae8f0bd7 (diff)
downloadbitcoin-e08b7cb33ca30e03a4fda2eb13fc101628907258.tar.xz
Mark blocks with too many sigops as failed
Github-Pull: #7217 Rebased-From: 5246180f168c9b761b6158b0725f5718239ba66c
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f24306b6e4..7eb9d1eef6 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;