Permalink
Browse files

Checkstyle changes

  • Loading branch information...
snazha-blkio committed Oct 27, 2018
1 parent 8b84b2e commit 49fe6bd406008c753f4ba7ee7d566094e600d1a7
Showing with 4 additions and 2 deletions.
  1. +4 −2 crypto/src/test/java/org/web3j/crypto/SignTest.java
@@ -18,7 +18,8 @@
@Test
public void testSignMessage() {
Sign.SignatureData signatureData = Sign.signPrefixedMessage(TEST_MESSAGE, SampleKeys.KEY_PAIR);
Sign.SignatureData signatureData = Sign.signPrefixedMessage(TEST_MESSAGE,
SampleKeys.KEY_PAIR);
Sign.SignatureData expected = new Sign.SignatureData(
(byte) 28,
@@ -33,7 +34,8 @@ public void testSignMessage() {
@Test
public void testSignedMessageToKey() throws SignatureException {
Sign.SignatureData signatureData = Sign.signPrefixedMessage(TEST_MESSAGE, SampleKeys.KEY_PAIR);
Sign.SignatureData signatureData = Sign.signPrefixedMessage(TEST_MESSAGE,
SampleKeys.KEY_PAIR);
BigInteger key = Sign.signedPrefixedMessageToKey(TEST_MESSAGE, signatureData);
assertThat(key, equalTo(SampleKeys.PUBLIC_KEY));
}

0 comments on commit 49fe6bd

Please sign in to comment.