Skip to content

Fix serverConnect regtest issue #66

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

Open
tkclough opened this issue Apr 17, 2018 · 1 comment
Open

Fix serverConnect regtest issue #66

tkclough opened this issue Apr 17, 2018 · 1 comment
Labels

Comments

@tkclough
Copy link
Contributor

tkclough commented Apr 17, 2018

I've been trying to use the CLI with regtest. The server localhost { s: 50002 } is selected, and await ecl.connect() works (so docker is running), but await ecl.server_version('3.0.5', '1.1') seems to be the source of the error. It's hidden a bit by the fact that the exception is caught and the loop just continues, so the error returned to the commit function in bitname-cli.ts is "No valid servers". I haven't been able to find the documentation on ElectrumClient.server_version, so I'm not sure why it's failing.

@tkclough tkclough added the bug label Apr 17, 2018
@colatkinson
Copy link
Member

Hm, is the docker container running? What is the result of await ecl.server_version('3.0.5', '1.1')?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants