From 79085ea232e4d3777afd3c18bea6ee63b34aa9af Mon Sep 17 00:00:00 2001 From: lateminer Date: Mon, 22 Oct 2018 22:37:05 +0300 Subject: [PATCH] Add missing fMayBanPeerIfInvalid parameter in ProcessNewBlock() call main.cpp --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 4c783c18a..e93091582 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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"); }