diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-06-03 16:20:30 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-06-03 16:20:58 +0200 |
| commit | 9d6060244429c4591e6ca62749f4f73cd981f247 (patch) | |
| tree | cab29a59fa4c190a4159fb651d244eeac36b4a13 /src/miner.cpp | |
| parent | Merge pull request #6218 (diff) | |
| parent | P2P regression test for new AcceptBlock behavior (diff) | |
| download | discoin-9d6060244429c4591e6ca62749f4f73cd981f247.tar.xz discoin-9d6060244429c4591e6ca62749f4f73cd981f247.zip | |
Merge pull request #5875
aa8c827 P2P regression test for new AcceptBlock behavior (Suhas Daftuar)
9be0e68 Be stricter in processing unrequested blocks (Suhas Daftuar)
Diffstat (limited to 'src/miner.cpp')
| -rw-r--r-- | src/miner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index dfabfd48d..f5919ca3a 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -434,7 +434,7 @@ static bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, CReserveKey& rese // Process this block the same as if we had received it from another node CValidationState state; - if (!ProcessNewBlock(state, NULL, pblock)) + if (!ProcessNewBlock(state, NULL, pblock, true, NULL)) return error("BitcoinMiner: ProcessNewBlock, block not accepted"); return true; |