Skip to content

Bug: Use default wallet for rpc commands when multiple wallets are loaded #1096

@oren-z0

Description

@oren-z0

Describe the bug
I'm using the bitcoin nodes also to develop and test some desktop wallets, which create new wallets in bitcoin-core.
This confuses the UI connection attempt.

I'm not sure if it's possible to set bitcoind so it will use a default wallet when it's not specified by the bitcoin-cli.
Specifically I would want all commands to run with -rpcwallet="".

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Bitcoin Core node
  2. Start Sparrow wallet (with the -regtest flag) and connect to that Bitcoin Core with polaruser & polarpass credentials.
  3. See error in the Polar UI

Expected behavior
Polar should just ignore other wallets.

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS Sequoia 15.1.1
  • Polar Version: 3.2.0
  • Docker Version: Docker Desktop 4.37.1 Engine 27.4.0
  • Docker Compose Version: v2.31.0-desktop.2

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomersup for grabsAnyone can work on this

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions