3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-02-13 10:45:51 +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
public void deriveAccountOne() throws Exception {
long secs = 1389353062L;
DeterministicKeyChain chain1 = new DeterministicKeyChain(ENTROPY, "", secs) {
@Override
protected ImmutableList<ChildNumber> getAccountPath() {
return ImmutableList.of(ChildNumber.ONE);
}
};
DeterministicKeyChain chain1 = new AccountOneChain(ENTROPY, "", secs);
ECKey key1 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS);
ECKey key2 = chain1.getKey(KeyChain.KeyPurpose.RECEIVE_FUNDS);