mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Remove useless conditional (old version of 95b5e0d894
was merged)
This commit is contained in:
parent
38d01e14a6
commit
3805e8956b
@ -610,7 +610,7 @@ public abstract class AbstractBlockChain {
|
|||||||
log.debug("Trying to connect {}", block.getHash());
|
log.debug("Trying to connect {}", block.getHash());
|
||||||
// Look up the blocks previous.
|
// Look up the blocks previous.
|
||||||
StoredBlock prev = getStoredBlockInCurrentScope(block.getPrevBlockHash());
|
StoredBlock prev = getStoredBlockInCurrentScope(block.getPrevBlockHash());
|
||||||
if (prev == null || prev.getHeight() > getChainHead().getHeight()) {
|
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(" but it is not connectable right now");
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user