Skip to content

Commit

Permalink
fixed String.format()
Browse files Browse the repository at this point in the history
  • Loading branch information
Hristiyan Mitov committed Mar 4, 2025
1 parent 47178ea commit 0671b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/limechain/beefy/state/BeefyState.java
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ private byte[] extractMmrRootHash(BlockHeader blockHeader) {
.filter(Objects::nonNull)
.findFirst()
.orElseThrow(() -> new BeefyGenericException(
String.format("No MMR digest found in block header: %s", blockHeader.getBlockNumber()))
String.format("No MMR digest found in block header: %d", blockHeader.getBlockNumber()))
);
}
}

0 comments on commit 0671b08

Please sign in to comment.