You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check in-flight monitor updates in force_shutdown for LocalAnnounced HTLCs
When building dropped_outbound_htlcs during force_shutdown,
LocalAnnounced HTLCs were only checked against blocked_monitor_updates.
If the monitor update had already been dispatched to the ChainMonitor
(returned InProgress) and was sitting in PeerState::in_flight_monitor_updates,
the HTLC was silently dropped with no PaymentPathFailed or PaymentFailed
event generated.
Pass the in-flight monitor updates for the channel into force_shutdown
so both blocked and in-flight updates are checked. This ensures
LocalAnnounced HTLCs whose monitor updates have been dispatched but not
yet persisted are properly included in dropped_outbound_htlcs and failed
back to the sender.
Closes#4431
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments