mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
lint: fix linter issues
This commit is contained in:
parent
bb9124a80a
commit
a10c741a26
54 changed files with 269 additions and 468 deletions
|
|
@ -530,13 +530,11 @@ func (s *loopInSwap) execute(mainCtx context.Context,
|
|||
subCtx, cancel := context.WithCancel(mainCtx)
|
||||
defer cancel()
|
||||
|
||||
s.wg.Add(1)
|
||||
go func() {
|
||||
defer s.wg.Done()
|
||||
s.wg.Go(func() {
|
||||
subscribeAndLogUpdates(
|
||||
subCtx, s.hash, s.log, s.server.SubscribeLoopInUpdates,
|
||||
)
|
||||
}()
|
||||
})
|
||||
|
||||
// Announce swap by sending out an initial update.
|
||||
err := s.sendUpdate(mainCtx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue