Add missing fMayBanPeerIfInvalid parameter in ProcessNewBlock() call

main.cpp
This commit is contained in:
lateminer
2018-10-22 22:37:05 +03:00
parent 16047baaf6
commit 79085ea232

View File

@@ -3697,7 +3697,7 @@ bool CheckStake(CBlock* pblock, CWallet& wallet, const CChainParams& chainparams
}
// Process this block the same as if we had received it from another node
if (!ProcessNewBlock(state, chainparams, NULL, pblock, true, NULL))
if (!ProcessNewBlock(state, chainparams, NULL, pblock, true, NULL, false))
return error("CheckStake() : ProcessNewBlock, block not accepted");
}