mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
linter: fix lint issues after linter v2 update
This commit is contained in:
parent
bd6271e633
commit
e98f733ef8
29 changed files with 65 additions and 59 deletions
|
|
@ -22,6 +22,8 @@ var (
|
|||
|
||||
// Manager manages the instantout state machines.
|
||||
type Manager struct {
|
||||
sync.Mutex
|
||||
|
||||
// cfg contains all the services that the reservation manager needs to
|
||||
// operate.
|
||||
cfg *Config
|
||||
|
|
@ -36,8 +38,6 @@ type Manager struct {
|
|||
blockEpochChan chan int32
|
||||
|
||||
runCtx context.Context
|
||||
|
||||
sync.Mutex
|
||||
}
|
||||
|
||||
// NewInstantOutManager creates a new instantout manager.
|
||||
|
|
|
|||
|
|
@ -15,14 +15,14 @@ import (
|
|||
|
||||
// Manager manages the reservation state machines.
|
||||
type Manager struct {
|
||||
sync.Mutex
|
||||
|
||||
// cfg contains all the services that the reservation manager needs to
|
||||
// operate.
|
||||
cfg *Config
|
||||
|
||||
// activeReservations contains all the active reservationsFSMs.
|
||||
activeReservations map[ID]*FSM
|
||||
|
||||
sync.Mutex
|
||||
}
|
||||
|
||||
// NewManager creates a new reservation manager.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue