Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oren-z0 opened this issue Jan 9, 2025 · 1 comment
Open
Labels
bug Something isn't working good first issue Good for newcomers up for grabs Anyone can work on this

Comments

@oren-z0
Copy link

oren-z0 commented Jan 9, 2025

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.

@oren-z0 oren-z0 added the bug Something isn't working label Jan 9, 2025
@jamaljsr
Copy link
Owner

Hey @oren-z0 Thanks for the feedback. This is a scenario that I have not encountered myself. Appreciate the detailed explanation. This is should be fairly easy to resolve. I'll try to squeeze it in before the next release.

@jamaljsr jamaljsr added good first issue Good for newcomers up for grabs Anyone can work on this labels Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers up for grabs Anyone can work on this
Projects
None yet
Development

No branches or pull requests

3 participants
@jamaljsr @oren-z0 and others