Issue Details

Number
16107
Title
Bitcoin Core on mainnet shows testnet3 dir as a wallet to open and allows opening it
Description
If you use both mainnet and testnet3 on the same machine, in default configuration `testnet3` directory is under mainnet Bitcoin datadir. If you have also testnet wallet there (`testnet3/wallet.dat` file), it will show `testnet3` directory in `bitcoin-cli listwalletdir` and "File > Open Wallet" list in GUI and actually allow to open it in mainnet. Don't think this is the expected behaviour.
URL
https://github.com/bitcoin/bitcoin/issue/16107
Closed by
Back to List