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

websockets don't seem to work. #28

Open
tvdsluijs opened this issue Aug 17, 2019 · 1 comment
Open

websockets don't seem to work. #28

tvdsluijs opened this issue Aug 17, 2019 · 1 comment

Comments

@tvdsluijs
Copy link

So I tried implementing the websockets code from here

But I get some strange error messages.

First this code

bcsm = await BinanceChainSocketManager.create(loop, handle_evt, address2, env=testnet_env)

Does not work because address2 does not exists.
I get a NameError: name 'address2' is not defined error

When I remove the 2 in address2 I get the next error.

TypeError: create() got multiple values for argument 'env'

I'm not really sure how to solve this issue.

Did anyone get the websockets to work?

@oliver-zehentleitner
Copy link
Contributor

I guess the address2is just a type. remove the 2 and i guess it will work.

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

No branches or pull requests

2 participants