mirror of
https://github.com/gosticks/iota.lib.java.git
synced 2026-10-06 06:27:54 +00:00
refactoring, moving getNewAddress to Proxy class
This commit is contained in:
@@ -14,7 +14,7 @@ public class AddressGenerationTest {
|
||||
|
||||
@Test
|
||||
public void shouldAddChecksum() {
|
||||
assertEquals(IotaAPIUtils.getNewAddress(TEST_SEED,0),FIRST_ADDRESS);
|
||||
assertEquals(IotaAPIUtils.newAddress(TEST_SEED,0, false),FIRST_ADDRESS);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -129,9 +129,9 @@ public class IotaAPIProxyTest {
|
||||
assertThat(proxy, IsNull.notNullValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
/*@Test TODO Fix me
|
||||
public void shouldCreateANewAddress() {
|
||||
final GetNewAddressResponse res = IotaAPIUtils.getNewAddress(TEST_SEED, 4);
|
||||
final GetNewAddressResponse res = proxy.newAddress(TEST_SEED, 4, false);
|
||||
assertThat(res.getAddress(), Is.is("GBPQGDMZ99FRNUBLCCIAXOEWNED9T9AMEHCGMMMFYTP9VINCVSNPAXUXBHQ9DIPTOOTP9XXUAUBDBMWMP"));
|
||||
}
|
||||
}*/
|
||||
}
|
||||
Reference in New Issue
Block a user