Moved chain weight calculation log from DEBUG to TRACE.

This commit is contained in:
CalDescent 2021-05-11 19:01:23 +01:00
parent 6532c258f6
commit d2649b237c

View File

@ -831,7 +831,7 @@ public class Block {
if (NTP.getTime() >= BlockChain.getInstance().getCalcChainWeightTimestamp() && parentHeight >= maxHeight) if (NTP.getTime() >= BlockChain.getInstance().getCalcChainWeightTimestamp() && parentHeight >= maxHeight)
break; break;
} }
LOGGER.debug(String.format("Chain weight calculation was based on %d blocks", blockCount)); LOGGER.trace(String.format("Chain weight calculation was based on %d blocks", blockCount));
return cumulativeWeight; return cumulativeWeight;
} }