-
Notifications
You must be signed in to change notification settings - Fork 204
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
Bugs/en 2588 fix direct sender #229
Conversation
…enger now sends async requests and always return nil error.
p2p/libp2p/directSender.go
Outdated
go func() { | ||
err := ds.Send(topic, buff, peer) | ||
if err != nil { | ||
log.Debug(err.Error()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change this to log.Info to see if we still have some errors here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to log.Info
return netMes.ds.Send(topic, buff, peerID) | ||
netMes.ds.SendAsync(topic, buff, peerID) | ||
|
||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still need the error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite. It just satisfy the interface.
No description provided.