From 51266b6bbcacdec16e41d9d232df51fdaf78a970 Mon Sep 17 00:00:00 2001 From: Sean Gilligan Date: Mon, 18 Dec 2023 10:21:20 -0800 Subject: [PATCH] Wallet: fix incorrect constructor JavaDoc The (canonical) constructor does not create a wallet with a random seed. --- core/src/main/java/org/bitcoinj/wallet/Wallet.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/org/bitcoinj/wallet/Wallet.java b/core/src/main/java/org/bitcoinj/wallet/Wallet.java index be07771ee..82784327f 100644 --- a/core/src/main/java/org/bitcoinj/wallet/Wallet.java +++ b/core/src/main/java/org/bitcoinj/wallet/Wallet.java @@ -628,9 +628,9 @@ public class Wallet extends BaseTaggableObject } /** - * 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}. + * Creates a new, empty wallet with no transactions. If you haven't already done so, + * make sure to provide for sufficient backup of the keys in the {@link KeyChainGroup}. + * To restore a wallet from disk instead, see {@link #loadFromFile}. * @param network network wallet will operate on * @param keyChainGroup keychain group to manage keychains */