-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
messenger: wait for onion update before sending ir
This fixes a race condition that occurs when we try to make a payment before the PeerConnected event has reached the onion messenger with the updated status. To fix this, we add a wait period in the onion messenger to wait for this event to come in before we send the invoice request.
- Loading branch information
1 parent
2f1dd02
commit aa9caf9
Showing
2 changed files
with
176 additions
and
110 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