-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
peer: simplify channel state update handling by using
This commit simplifies the channel state update handling by doing away with the commitmentState.pendingUpdate method all together. The newly added LightningChannel.FullySynced method replace the prior state and also replaced all other uses of PendingUpdates. By moving to using channel.FullySynced() we also eliminate class of desynchronization error caused by a node failing to provide the other side with the latest commitment state.
- Loading branch information
Showing
1 changed file
with
13 additions
and
29 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