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
|
|
@ -271,8 +271,8 @@ type Manager struct {
|
|||
}
|
||||
|
||||
// Run periodically checks whether we should automatically dispatch a loop out.
|
||||
// We run this loop even if automated swaps are not currently enabled rather
|
||||
// than managing starting and stopping the ticker as our parameters are updated.
|
||||
// We run this loop even if automated swaps are not currently enabled, instead
|
||||
// of starting and stopping the ticker whenever our parameters are updated.
|
||||
func (m *Manager) Run(ctx context.Context) error {
|
||||
m.cfg.AutoloopTicker.Resume()
|
||||
defer m.cfg.AutoloopTicker.Stop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue