Skip to content

fix: get correct server parameters#6

Merged
dr-orlovsky merged 1 commit intoRGB-WG:masterfrom
oacdutra:fix/custom-server
Apr 17, 2023
Merged

fix: get correct server parameters#6
dr-orlovsky merged 1 commit intoRGB-WG:masterfrom
oacdutra:fix/custom-server

Conversation

@oacdutra
Copy link
Member

When I tried use rgb-cli with --electrum localhost:50001 --chain regtest options, the follow error occurs:

thread 'main' panicked at 'no default server is known for regtest, please provide a custom URL', src/wallet.rs:124:21
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I found the reason here: https://stackoverflow.com/a/56726618

This PR fix that!

@oacdutra oacdutra force-pushed the fix/custom-server branch from 9c3f6fe to ba0c87d Compare April 17, 2023 02:35
Copy link
Member

@dr-orlovsky dr-orlovsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK ba0c87d

Wow, what a catch!

@dr-orlovsky dr-orlovsky merged commit 88e6b30 into RGB-WG:master Apr 17, 2023
@oacdutra oacdutra deleted the fix/custom-server branch June 23, 2023 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants