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
fix: multi-channel healing + TOCTOU race on chain sync spawn
1. Remove peer dedup from healing payments — send one per unhealed
channel (not per peer). The previous dedup prevented retries to the
same peer even when some of their channels remained unhealed.
2. Fix TOCTOU race: subscribe to stop_sender while holding the
is_running read lock before spawning chain sync. This prevents
stop() from completing between the check and subscribe, which would
orphan the task (missing the already-sent stop signal).
Extracted spawn_chain_sync_task_with_receiver() so the normal path
(spawn_chain_sync_task) still works unchanged.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments