aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2015-12-15 15:40:50 -0500
committerSuhas Daftuar <sdaftuar@gmail.com>2015-12-15 15:40:50 -0500
commit5246180f168c9b761b6158b0725f5718239ba66c (patch)
treebe41bbebd59d27b0774081f2b4b6be69ccda3095
parent7a5040155ed59f8c9c51734bb2ee29f1593eaa6a (diff)
Mark blocks with too many sigops as failed
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 41fc0b8098..001da9c6c1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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;