duplicate wallet warning after closing and reopening wallet #20840

issue dooglus opened this issue on January 3, 2021
  1. dooglus commented at 4:58 PM on January 3, 2021: contributor

    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.

  2. dooglus added the label Bug on Jan 3, 2021
  3. maflcko added the label GUI on Jan 3, 2021
  4. maflcko added the label Wallet on Jan 3, 2021
  5. hebasto commented at 9:34 AM on January 4, 2021: member
  6. willcl-ark commented at 1:27 PM on October 15, 2025: member

    @hebasto should, this be moved to the GUI repo (or closed)?


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-16 00:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me