diff options
| author | Suhas Daftuar <[email protected]> | 2016-10-31 10:03:49 -0400 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2016-11-03 13:07:12 -0400 |
| commit | 88c35491ab19f9afdf9b3fa9356a072f70ef2f55 (patch) | |
| tree | 979296a970eea7001a5133bb792bda690bcb428c /src/test/test_bitcoin.cpp | |
| parent | [qa] Test that invalid compactblocks don't result in ban (diff) | |
| download | discoin-88c35491ab19f9afdf9b3fa9356a072f70ef2f55.tar.xz discoin-88c35491ab19f9afdf9b3fa9356a072f70ef2f55.zip | |
Fix compact block handling to not ban if block is invalid
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 98f4ed939..3da0be8ca 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -127,7 +127,7 @@ TestChain100Setup::CreateAndProcessBlock(const std::vector<CMutableTransaction>& while (!CheckProofOfWork(block.GetHash(), block.nBits, chainparams.GetConsensus())) ++block.nNonce; CValidationState state; - ProcessNewBlock(state, chainparams, NULL, &block, true, NULL); + ProcessNewBlock(state, chainparams, NULL, &block, true, NULL, false); CBlock result = block; return result; |