3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-30 23:02:15 +00:00

Remove useless conditional (old version of 95b5e0d894 was merged)

This commit is contained in:
Matt Corallo 2013-01-06 10:25:11 -08:00
parent 38d01e14a6
commit 3805e8956b

View File

@ -610,7 +610,7 @@ public abstract class AbstractBlockChain {
log.debug("Trying to connect {}", block.getHash());
// Look up the blocks previous.
StoredBlock prev = getStoredBlockInCurrentScope(block.getPrevBlockHash());
if (prev == null || prev.getHeight() > getChainHead().getHeight()) {
if (prev == null) {
// This is still an unconnected/orphan block.
log.debug(" but it is not connectable right now");
continue;