mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: update linter, fix issues
This commit is contained in:
parent
bac1416636
commit
08026dab93
25 changed files with 525 additions and 346 deletions
|
|
@ -88,8 +88,9 @@ func TestStateMachine_ActionError(t *testing.T) {
|
|||
|
||||
// Add a Transition to State2 if the Action on Stat2 fails.
|
||||
// The new StateMap looks like this:
|
||||
// State1 -> Event1 -> State2
|
||||
// State2 -> OnError -> ErrorState
|
||||
// State1 -> Event1 -> State2
|
||||
//
|
||||
// State2 -> OnError -> ErrorState
|
||||
states["State2"] = State{
|
||||
Action: ctx.errorAction,
|
||||
Transitions: Transitions{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue