mirror of
https://github.com/ACINQ/eclair.git
synced 2025-03-13 11:35:47 +01:00
Remove manualTransition in SYNCING -> NORMAL transition
manualTransition is a fix for old akka version where onTransition events are not fired for same state transitions. Must not be used if states are different, otherwise duplicate events are fired.
This commit is contained in:
parent
67525ce48a
commit
667eb2fda3
1 changed files with 1 additions and 1 deletions
|
@ -1575,7 +1575,7 @@ class Channel(val nodeParams: NodeParams, val wallet: EclairWallet, remoteNodeId
|
|||
}
|
||||
}
|
||||
|
||||
goto(NORMAL) using manualTransition(SYNCING, NORMAL, d, d.copy(commitments = commitments1)) sending sendQueue
|
||||
goto(NORMAL) using d.copy(commitments = commitments1) sending sendQueue
|
||||
}
|
||||
|
||||
case Event(c: CMD_ADD_HTLC, d: DATA_NORMAL) => handleAddDisconnected(c, d)
|
||||
|
|
Loading…
Add table
Reference in a new issue