Force ProcessNewBlock to not do slow check
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include "../script/standard.h"
|
||||
#include "../base58.h"
|
||||
|
||||
// debugging: need to clarify tx, inputTx, origTx
|
||||
// code rpc
|
||||
|
||||
/*
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user