mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 14:50:57 +01:00
Forgotten refactor
This commit is contained in:
parent
7012791601
commit
81f2303434
1 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue