Skip to content

Commit

Permalink
clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Apr 6, 2024
1 parent b6e6e3a commit 8898f0b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions choam/src/main/java/com/salesforce/apollo/choam/CHOAM.java
Original file line number Diff line number Diff line change
Expand Up @@ -931,8 +931,8 @@ private void synchronizedProcess(CertifiedBlock certifiedBlock) {
if (prevHeight == null) {
if (!hcb.height().equals(ULong.valueOf(0))) {
pending.add(hcb);
log.debug("Deferring block on {}. Block: {} hash: {} height should be {} and block height is {}",
params.member().getId(), hcb.block.getBodyCase(), hcb.hash, 0, header.getHeight());
log.debug("Deferring block: {} hash: {} height should be {} and block height is {} on: {}",
hcb.block.getBodyCase(), hcb.hash, 0, header.getHeight(), params.member().getId());
return;
}
} else {
Expand All @@ -943,9 +943,9 @@ private void synchronizedProcess(CertifiedBlock certifiedBlock) {
}
if (!hcb.height().equals(prevHeight.add(1))) {
pending.add(hcb);
log.debug("Deferring block on {}. Block: {} hash: {} height should be {} and block height is {}",
params.member().getId(), hcb.block.getBodyCase(), hcb.hash, previousBlock.height().add(1),
header.getHeight());
log.debug("Deferring block: {} hash: {} height should be {} and block height is {} on: {}",
hcb.block.getBodyCase(), hcb.hash, previousBlock.height().add(1), header.getHeight(),
params.member().getId());
return;
}
}
Expand Down

0 comments on commit 8898f0b

Please sign in to comment.