Browse Source

fix build

pull/4/head
blackjok3r 5 years ago
parent
commit
fa0a8e3795
  1. 2
      src/main.cpp

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

Loading…
Cancel
Save