Skip to content

Commit 8e9699c

Browse files
committed
Update doc to match new default wallet type
Which changed in bitcoin#23002.
1 parent 1e7564e commit 8e9699c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/managing-wallets.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,9 @@ In the GUI, the `Create a new wallet` button is displayed on the main screen whe
1212
The following command, for example, creates a descriptor wallet. More information about this command may be found by running `bitcoin-cli help createwallet`.
1313

1414
```
15-
$ bitcoin-cli -named createwallet wallet_name="wallet-01" descriptors=true
15+
$ bitcoin-cli createwallet "wallet-01"
1616
```
1717

18-
The `descriptors` parameter can be omitted if the intention is to create a legacy wallet. For now, the default type is the legacy wallet, but that is expected to change in a future release.
19-
2018
By default, wallets are created in the `wallets` folder of the data directory, which varies by operating system, as shown below. The user can change the default by using the `-datadir` or `-walletdir` initialization parameters.
2119

2220
| Operating System | Default wallet directory |
@@ -54,7 +52,7 @@ Only the wallet's private key is encrypted. All other wallet information, such a
5452
The wallet's private key can also be encrypted in the `createwallet` command via the `passphrase` argument:
5553

5654
```
57-
$ bitcoin-cli -named createwallet wallet_name="wallet-01" descriptors=true passphrase="passphrase"
55+
$ bitcoin-cli -named createwallet wallet_name="wallet-01" passphrase="passphrase"
5856
```
5957

6058
Note that if the passphrase is lost, all the coins in the wallet will also be lost forever.

0 commit comments

Comments
 (0)