Closed filinvadim closed 3 years ago
I don't receive any messages if auth wasn't successful.
Problem is here: https://github.com/HuobiRDCenter/huobi_Golang/blob/75de5c6fcc0ed1917ef0d9e3a00c7b315f427224/pkg/model/auth/websocketv1authenticationresponse.go#L14
Have:
func (p *WebSocketV1AuthenticationResponse) IsAuth() bool { return p.Op == "auth" && p.ErrorCode == 0 }
Need:
func (p *WebSocketV1AuthenticationResponse) IsAuth() bool { return p.Op == "auth" }
@filinvadim thanks for your feedback, we have fixed this in latest master branch.
I don't receive any messages if auth wasn't successful.
Problem is here: https://github.com/HuobiRDCenter/huobi_Golang/blob/75de5c6fcc0ed1917ef0d9e3a00c7b315f427224/pkg/model/auth/websocketv1authenticationresponse.go#L14
Have:
Need: