diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2016-10-31 10:03:49 -0400 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2016-11-03 13:07:12 -0400 |
commit | 88c35491ab19f9afdf9b3fa9356a072f70ef2f55 (patch) | |
tree | 979296a970eea7001a5133bb792bda690bcb428c /src/blockencodings.cpp | |
parent | c93beac43fa66c8431e3952283edb5be8c65606c (diff) |
Fix compact block handling to not ban if block is invalid
Diffstat (limited to 'src/blockencodings.cpp')
-rw-r--r-- | src/blockencodings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockencodings.cpp b/src/blockencodings.cpp index 93d3fa372b..737102f168 100644 --- a/src/blockencodings.cpp +++ b/src/blockencodings.cpp @@ -167,7 +167,7 @@ ReadStatus PartiallyDownloadedBlock::FillBlock(CBlock& block, const std::vector< // check its own merkle root and cache that check. if (state.CorruptionPossible()) return READ_STATUS_FAILED; // Possible Short ID collision - return READ_STATUS_INVALID; + return READ_STATUS_CHECKBLOCK_FAILED; } LogPrint("cmpctblock", "Successfully reconstructed block %s with %lu txn prefilled, %lu txn from mempool and %lu txn requested\n", header.GetHash().ToString(), prefilled_count, mempool_count, vtx_missing.size()); |