3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 18:55:52 +00:00

Forgotten refactor

This commit is contained in:
Devrandom 2015-04-08 09:35:36 -07:00 committed by Mike Hearn
parent 7012791601
commit 81f2303434

View File

@ -86,12 +86,7 @@ public class DeterministicKeyChainTest {
@Test @Test
public void deriveAccountOne() throws Exception { public void deriveAccountOne() throws Exception {
long secs = 1389353062L; long secs = 1389353062L;
DeterministicKeyChain chain1 = new DeterministicKeyChain(ENTROPY, "", secs) { DeterministicKeyChain chain1 = new AccountOneChain(ENTROPY, "", secs);
@Override
protected ImmutableList<ChildNumber> getAccountPath() {
return ImmutableList.of(ChildNumber.ONE);
}
};
ECKey key1 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS); ECKey key1 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS);
ECKey key2 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS); ECKey key2 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS);