Issue Details

Number
20840
Title
duplicate wallet warning after closing and reopening wallet
Description
Built from the v0.21.0rc4 tag on Debian with an SSD. Kernel 4.19.0-13-amd64. Debian GNU/Linux 10 (buster). XFCE4, xfwm4. I have 'wallet=x' (and several other similar lines) in my bitcoin.conf so wallet x loads every time I start the client. I recently used the Qt GUI to close wallet x and then reopened it. Later I shut down the client and restarted it and got a warning: "Warning: Ignoring duplicate -wallet x." It turns out that closing and reopening the wallet caused it to be listed in a file called settings.json which is used at startup in addition to the bitcoin.conf file. Now the x wallet is listed in 2 places and shows up as a "duplicate" just because I closed and reopened it. This seems like undesirable behavior.
URL
https://github.com/bitcoin/bitcoin/issue/20840
Closed by
Back to List