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