diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2015-12-15 15:40:50 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2015-12-15 15:40:50 -0500 |
commit | 5246180f168c9b761b6158b0725f5718239ba66c (patch) | |
tree | be41bbebd59d27b0774081f2b4b6be69ccda3095 /src | |
parent | 7a5040155ed59f8c9c51734bb2ee29f1593eaa6a (diff) | |
download | bitcoin-5246180f168c9b761b6158b0725f5718239ba66c.tar.xz |
Mark blocks with too many sigops as failed
Diffstat (limited to 'src')
-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 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; |