mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-13 10:45:51 +00:00
Forgotten refactor
This commit is contained in:
parent
7012791601
commit
81f2303434
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user