Skip to content

Commit

Permalink
Fix block without braces
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrm authored and ripcurlx committed Jul 26, 2019
1 parent 63785b1 commit 3663203
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/src/main/java/bisq/core/dao/node/lite/LiteNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,12 @@ private void onRequestedBlocksReceived(List<RawBlock> blockList, Runnable onPars
runDelayedBatchProcessing(new ArrayList<>(blockList),
() -> {
log.info("Parsing {} blocks took {} seconds.", blockList.size(), (System.currentTimeMillis() - ts) / 1000d);
if (daoStateService.getChainHeight() < bsqWalletService.getBestChainHeight())
if (daoStateService.getChainHeight() < bsqWalletService.getBestChainHeight()) {
liteNodeNetworkService.requestBlocks(getStartBlockHeight());
else
} else {
onParsingComplete.run();
onParseBlockChainComplete();
}
});
}

Expand Down

0 comments on commit 3663203

Please sign in to comment.