Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierayache authored Oct 28, 2022
1 parent 24cf164 commit 9d886d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crypto/src/main/java/org/web3j/crypto/Sign.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ public class Sign {
static final String MESSAGE_PREFIX = "\u0019Ethereum Signed Message:\n";

static byte[] getEthereumMessagePrefix(int messageLength) {
return MESSAGE_PREFIX.concat(String.valueOf(messageLength)).getBytes(StandardCharsets.UTF_8);
return MESSAGE_PREFIX
.concat(String.valueOf(messageLength))
.getBytes(StandardCharsets.UTF_8);
}

public static byte[] getEthereumMessageHash(byte[] message) {
Expand Down

0 comments on commit 9d886d0

Please sign in to comment.