From 187fcef1c4cefaab231d7ca85d0d9ef22f2990ea Mon Sep 17 00:00:00 2001 From: romanman Date: Sun, 16 Nov 2014 14:29:38 -0500 Subject: [PATCH] tiny compilation fix --- .../jsontestsuite/LocalJSONTestSuiteTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ethereumj-core/src/test/java/test/ethereum/jsontestsuite/LocalJSONTestSuiteTest.java b/ethereumj-core/src/test/java/test/ethereum/jsontestsuite/LocalJSONTestSuiteTest.java index 2a6fc27b..a1e6d3b6 100644 --- a/ethereumj-core/src/test/java/test/ethereum/jsontestsuite/LocalJSONTestSuiteTest.java +++ b/ethereumj-core/src/test/java/test/ethereum/jsontestsuite/LocalJSONTestSuiteTest.java @@ -46,15 +46,15 @@ public class LocalJSONTestSuiteTest { new AccountState(Hex.decode("0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6"), accountJSONObj); - Assert.assertEquals(expectedNonce, Hex.toHexString(state.nonce)); - Assert.assertEquals(expectedBalance, Hex.toHexString(state.balance)); - Assert.assertEquals(expectedCode, Hex.toHexString(state.code)); + Assert.assertEquals(expectedNonce, Hex.toHexString(state.getNonce())); + Assert.assertEquals(expectedBalance, Hex.toHexString(state.getBalance())); + Assert.assertEquals(expectedCode, Hex.toHexString(state.getCode())); - Assert.assertTrue(state.storage.keySet().contains(expectedKey1)); - Assert.assertTrue(state.storage.keySet().contains(expectedKey2)); + Assert.assertTrue(state.getStorage().keySet().contains(expectedKey1)); + Assert.assertTrue(state.getStorage().keySet().contains(expectedKey2)); - Assert.assertTrue(state.storage.values().contains(expectedVal1)); - Assert.assertTrue(state.storage.values().contains(expectedVal2)); + Assert.assertTrue(state.getStorage().values().contains(expectedVal1)); + Assert.assertTrue(state.getStorage().values().contains(expectedVal2)); }