From fa0a8e37953c64744f6b4ad5beeaa23241a06147 Mon Sep 17 00:00:00 2001 From: blackjok3r Date: Tue, 26 Feb 2019 13:19:45 +0800 Subject: [PATCH] fix build --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 7658bd4ec..01513149c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5472,7 +5472,7 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo bool fRequested = MarkBlockAsReceived(hash); // Test thing on LABS to test viability of rejecting a node pushing a chain. // Supposed to stop malicious forks being pushed. Untested. Disabled incase of problems it may cause. - if ( 0 & pfrom && !fRequested && vNodes.size() > 1 ) + if ( 0 && pfrom && !fRequested && vNodes.size() > 1 ) { pfrom->nBlocksinARow += 1; if ( pfrom->nBlocksinARow >= 10 )