mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Both OpeningChannel and ChannelPublished lacked OnExpiry transitions. handleBlockNotification fires OnExpiry on every new block once the deposit is expired, regardless of the current state. Since both states use NoOpAction or FinalizeDepositAction which release the FSM mutex briefly, an OnExpiry SendEvent can sneak in. Add self-transitions so the event is safely absorbed. |
||
|---|---|---|
| .. | ||
| actions.go | ||
| deposit.go | ||
| fsm.go | ||
| interface.go | ||
| log.go | ||
| manager.go | ||
| manager_test.go | ||
| sql_store.go | ||
| sql_store_test.go | ||