Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed requirement to broadcast an outdated commitment transaction
If a node has to fail a channel but knows that its latest commitment transaction is outdated it should not be required to send it but rather wait for the peer to unilaterally close the channel. The proposed solution is not so clean because it might produce a deadlock in which two peers assume they have outdated state and send `error` back and forth without actually force closing. Maybe in such a scenario we could create a protocol that mutually closes with split balance? Also replaced the word use with broadcast as it seems more accurate.
- Loading branch information