Browse Source

Suppress 'Ignoring nbits' debug

witness_cache
Duke 7 months ago
parent
commit
4256e7d835
  1. 2
      src/main.cpp

2
src/main.cpp

@ -5135,7 +5135,7 @@ bool ContextualCheckBlockHeader(const CBlockHeader& block, CValidationState& sta
// " " << block.GetHash().ToString() << " @ " << block.GetBlockTime() << endl;
return state.DoS(100, error("%s: Incorrect diffbits at height %d: %lu vs %lu ", __func__, nHeight, nNextWork, block.nBits), REJECT_INVALID, "bad-diffbits");
} else {
cout << "Ignoring nbits for height=" << nHeight << endl;
// cout << "Ignoring nbits for height=" << nHeight << endl;
}
}
}

Loading…
Cancel
Save