Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Drop pending finalize messages on disconnected peer
If the peer disconnects before the pending finalize message could have been processed, the recovery logic is in conflict with the hanging message. Both parties return to the offered state and try to recover from there, now the pending `Finalize` message is out of place. We had a similar issue with a pending `Confirm` message. I presume this issue got introduced after the protocol was extended for the `Revoke` message.
- Loading branch information