fix build

This commit is contained in:
blackjok3r
2019-02-26 13:19:45 +08:00
parent 096d25df97
commit fa0a8e3795

View File

@@ -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 )