3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-11 17:55:50 +00:00

Fixed logging issue where it would underreport the number of common blocks found when loading some from the cache.

This commit is contained in:
CalDescent 2021-05-02 20:51:53 +01:00
parent 8e244fd956
commit 6e9a61c4e5

View File

@ -122,6 +122,7 @@ public class Synchronizer {
// Check if we can use the cached common block data, by comparing the peer's current chain tip against the peer's chain tip when we last found our common block
if (peer.canUseCachedCommonBlockData()) {
LOGGER.debug(String.format("Skipping peer %s because we already have the latest common block data in our cache. Cached common block sig is %.08s", peer, Base58.encode(peer.getCommonBlockData().getCommonBlockSummary().getSignature())));
commonBlocksFound++;
continue;
}