diff --git a/src/test/java/com/mxw/wallet/WalletTest.java b/src/test/java/com/mxw/wallet/WalletTest.java index 95d8b4d..1badd10 100644 --- a/src/test/java/com/mxw/wallet/WalletTest.java +++ b/src/test/java/com/mxw/wallet/WalletTest.java @@ -47,8 +47,8 @@ public void testDecryptJson() throws CipherException { @Test public void testEncryptWithoutMnemonic() throws CipherException, JsonProcessingException { Wallet wallet = new Wallet(TestConfig.PRIVATE_KEY_STRING); - WalletFile walletFile = wallet.EncryptWallet(TestConfig.ENCRYPT_PASSWORD); - String json = wallet.EncryptWalletJson(TestConfig.ENCRYPT_PASSWORD); + WalletFile walletFile = wallet.encryptWallet(TestConfig.ENCRYPT_PASSWORD); + String json = wallet.encryptWalletJson(TestConfig.ENCRYPT_PASSWORD); SigningKey signingKey = SecretStorage.decryptToSignKey(TestConfig.ENCRYPT_PASSWORD, walletFile); Assert.assertEquals(wallet.getSigningKey(), signingKey); Assert.assertEquals(wallet.getPrivateKey(), signingKey.getPrivateKey());