Force ProcessNewBlock to not do slow check

This commit is contained in:
jl777
2018-07-19 22:35:43 -11:00
parent b088fa9729
commit 55d19b212e
2 changed files with 1 additions and 2 deletions

View File

@@ -20,7 +20,6 @@
#include "../script/standard.h"
#include "../base58.h"
// debugging: need to clarify tx, inputTx, origTx
// code rpc
/*

View File

@@ -4456,7 +4456,7 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo
LOCK(cs_main);
bool fRequested = MarkBlockAsReceived(hash);
fRequested |= fForceProcessing;
if ( checked != 0 && komodo_checkPOW(from_miner && ASSETCHAINS_STAKED == 0,pblock,height) < 0 )
if ( checked != 0 && komodo_checkPOW(0,pblock,height) < 0 ) //from_miner && ASSETCHAINS_STAKED == 0
{
checked = 0;
//fprintf(stderr,"passed checkblock but failed checkPOW.%d\n",from_miner && ASSETCHAINS_STAKED == 0);