mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-15 11:45:51 +00:00
DeterministicKeyChain.Builder: Use constant for default entrophy.
This commit is contained in:
parent
5d9f25b03a
commit
30a066797d
@ -162,7 +162,7 @@ public class DeterministicKeyChain implements EncryptableKeyChain {
|
|||||||
|
|
||||||
public static class Builder<T extends Builder<T>> {
|
public static class Builder<T extends Builder<T>> {
|
||||||
protected SecureRandom random;
|
protected SecureRandom random;
|
||||||
protected int bits = 128;
|
protected int bits = DeterministicSeed.DEFAULT_SEED_ENTROPY_BITS;
|
||||||
protected String passphrase;
|
protected String passphrase;
|
||||||
protected long seedCreationTimeSecs;
|
protected long seedCreationTimeSecs;
|
||||||
protected byte[] entropy;
|
protected byte[] entropy;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user