Skip to content

Commit 5f5b537

Browse files
committed
format code style
1 parent 266fbf9 commit 5f5b537

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

framework/src/main/java/org/tron/core/net/service/fetchblock/FetchBlockService.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ public void fetchBlock(List<Sha256Hash> sha256HashList, PeerConnection peer) {
7373
sha256HashList.stream().filter(sha256Hash -> new BlockCapsule.BlockId(sha256Hash).getNum()
7474
== chainBaseManager.getHeadBlockNum() + 1)
7575
.findFirst().ifPresent(sha256Hash -> {
76-
fetchBlockInfo = new FetchBlockInfo(sha256Hash, peer, System.currentTimeMillis());
77-
logger.info("Set fetchBlockInfo, block: {}, peer: {}, time: {}", sha256Hash,
76+
fetchBlockInfo = new FetchBlockInfo(sha256Hash, peer, System.currentTimeMillis());
77+
logger.info("Set fetchBlockInfo, block: {}, peer: {}, time: {}", sha256Hash,
7878
fetchBlockInfo.getPeer().getInetAddress(), fetchBlockInfo.getTime());
79-
});
79+
});
8080
}
8181

8282

0 commit comments

Comments
 (0)