Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
secmask committed Feb 28, 2024
1 parent d695235 commit dd44389
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions pkg/bsync/bsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,5 @@ func (w *Worker[T]) Start() {
}

func (w *Worker[T]) Stop() {
select {
case w.stop <- struct{}{}:
}
w.stop <- struct{}{}
}
3 changes: 2 additions & 1 deletion pkg/bsync/bsync_worker_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package bsync_test

import (
"github.com/KyberNetwork/tradinglib/pkg/bsync"
"testing"
"time"

"github.com/KyberNetwork/tradinglib/pkg/bsync"
)

func TestWorker(t *testing.T) {
Expand Down

0 comments on commit dd44389

Please sign in to comment.