websockets don't seem to work.
tvdsluijs opened this issue · comments
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?
I guess the address2
is just a type. remove the 2
and i guess it will work.