mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
executor: fix linter error
This commit is contained in:
parent
16111352a8
commit
6b732bacee
1 changed files with 4 additions and 1 deletions
|
|
@ -140,7 +140,7 @@ func (s *executor) run(mainCtx context.Context,
|
|||
go func() {
|
||||
defer s.wg.Done()
|
||||
|
||||
newSwap.execute(mainCtx, &executeConfig{
|
||||
err := newSwap.execute(mainCtx, &executeConfig{
|
||||
statusChan: statusChan,
|
||||
sweeper: s.sweeper,
|
||||
blockEpochChan: queue.ChanOut(),
|
||||
|
|
@ -148,6 +148,9 @@ func (s *executor) run(mainCtx context.Context,
|
|||
loopOutMaxParts: s.executorConfig.loopOutMaxParts,
|
||||
cancelSwap: s.executorConfig.cancelSwap,
|
||||
}, height)
|
||||
if err != nil && err != context.Canceled {
|
||||
log.Errorf("Execute error: %v", err)
|
||||
}
|
||||
|
||||
select {
|
||||
case swapDoneChan <- swapID:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue