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

fix: get correct server parameters #6

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

crisdut
Copy link
Member

@crisdut crisdut commented Apr 17, 2023

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!

@crisdut crisdut 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
@crisdut crisdut 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