When our peer fails HTLCs, we only propagate the failure upstream once we've received their revocation for the previous commitment (because they could otherwise publish the previous commitment and claim those HTLCs).
If they publish the new commitment without sending us their revocation, we previously didn't propagate the failure upstream, which leads to an unnecessary force-close. We now correctly handle this scenario.
This issue was reported by @wtogami and is responsible for a force-close of one of our channels.
When our peer fails HTLCs, we only propagate the failure upstream once we've received their revocation for the previous commitment (because they could otherwise publish the previous commitment and claim those HTLCs).
If they publish the new commitment without sending us their revocation, we previously didn't propagate the failure upstream, which leads to an unnecessary force-close. We now correctly handle this scenario.
This issue was reported by @wtogami and is responsible for a force-close of one of our channels.