mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 07:12:17 +00:00
Add warning about randomly generated keys to Wallet constructor.
This commit is contained in:
parent
89c53a8f8e
commit
36850b1d0e
@ -213,8 +213,9 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
|
||||
@Nullable volatile private UTXOProvider vUTXOProvider;
|
||||
|
||||
/**
|
||||
* Creates a new, empty wallet with no keys and no transactions. If you want to restore a wallet from disk instead,
|
||||
* see loadFromFile.
|
||||
* Creates a new, empty wallet with a randomly chosen seed and no transactions. Make sure to provide for sufficient
|
||||
* backup! Any keys will be derived from the seed. If you want to restore a wallet from disk instead, see
|
||||
* {@link #loadFromFile}.
|
||||
*/
|
||||
public Wallet(NetworkParameters params) {
|
||||
this(params, new KeyChainGroup(params));
|
||||
|
Loading…
Reference in New Issue
Block a user