-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(p2p): remove error event from Peer
This removes the `error` event from `Peer`. Previously it was only used to log the error from the listener in `Pool`, however this was unnecessary and instead the logging can be done directly from `Peer`. This simplifies the code and also resolves a mysterious crash condition where an unhandled error from `Peer` would crash xud after a failed inbound connection via tor. Closes #1129.
- Loading branch information
Showing
2 changed files
with
2 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters