3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 18:55:52 +00:00

Print block hash in debug log message for unconnectable orphan.

This commit is contained in:
Jameson Lopp 2015-12-18 16:12:55 -05:00
parent 44ca39bfd7
commit ab169f0700

View File

@ -920,7 +920,7 @@ public abstract class AbstractBlockChain {
StoredBlock prev = getStoredBlockInCurrentScope(orphanBlock.block.getPrevBlockHash()); StoredBlock prev = getStoredBlockInCurrentScope(orphanBlock.block.getPrevBlockHash());
if (prev == null) { if (prev == null) {
// This is still an unconnected/orphan block. // This is still an unconnected/orphan block.
log.debug(" but it is not connectable right now"); log.debug("Orphan block {} is not connectable right now", orphanBlock.block.getHash());
continue; continue;
} }
// Otherwise we can connect it now. // Otherwise we can connect it now.