Browse Source

Test

pull/4/head
jl777 6 years ago
parent
commit
68d0354d9d
  1. 9
      src/miner.cpp

9
src/miner.cpp

@ -929,6 +929,15 @@ void static BitcoinMiner()
while ( GetAdjustedTime() < pblock->nTime )
sleep(1);
}
else
{
CValidationState state;
if ( !TestBlockValidity(state, *pblock, pindexPrev, false, false))
{
fprintf(stderr,"Invalid block mined, try again\n");
return(false);
}
}
}
KOMODO_CHOSEN_ONE = 1;
// Found a solution

Loading…
Cancel
Save