loop/staticaddr
Slyghtning 4a6ccd3d29
loopin: fix data race on activeLoopIns map during recovery
recoverLoopIns wrote to the activeLoopIns map from inside a goroutine
without any synchronization. The map is shared state accessed from
the manager's main Run loop, creating a data race.

Move the map write before the goroutine spawn so it happens
synchronously during recovery. Also fix the stale log message that
said "OnStart" instead of "OnRecover".
2026-03-09 08:37:49 +01:00
..
address staticutil: refactor methods into utils 2025-12-09 12:21:51 +01:00
deposit deposit: add OnExpiry self-transitions to OpeningChannel and ChannelPublished 2026-02-26 20:57:27 +01:00
loopin loopin: fix data race on activeLoopIns map during recovery 2026-03-09 08:37:49 +01:00
openchannel openchannel: optimize open channel request creation and err handling 2026-02-26 20:57:28 +01:00
script multi: update linter, fix issues 2025-03-10 22:59:50 +01:00
staticutil staticaddr: open channel manager 2026-02-26 20:57:26 +01:00
version multi: do not rename swapserverrpc to looprpc 2024-09-10 09:54:17 -03:00
withdraw staticaddr: open channel manager 2026-02-26 20:57:26 +01:00
log.go staticaddr: open channel manager 2026-02-26 20:57:26 +01:00