This commit is contained in:
jl777
2018-04-19 16:03:51 +03:00
parent af0c41ee3d
commit 7bb789bb66
5 changed files with 11 additions and 19 deletions

View File

@@ -631,7 +631,7 @@ static bool ProcessBlockFound(CBlock* pblock)
// Process this block the same as if we had received it from another node
CValidationState state;
if (!ProcessNewBlock(chainActive.Tip()->nHeight+1,state, NULL, pblock, true, NULL))
if (!ProcessNewBlock(1,chainActive.Tip()->nHeight+1,state, NULL, pblock, true, NULL))
return error("KomodoMiner: ProcessNewBlock, block not accepted");
TrackMinedBlock(pblock->GetHash());