Skip to content

Commit

Permalink
Fix linting errors (nolint)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing authored Dec 23, 2024
1 parent 17f2333 commit 6c5abb9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions service/tbc/tbc.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ type Server struct {
blocksInserted int // blocks inserted since last print

// mempool
// nolint:dupword // fuck you linter
//nolint:dupword // False positive, commented-out code.
// mempool *mempool

// broadcast
Expand Down Expand Up @@ -992,7 +992,6 @@ func (s *Server) syncBlocks(ctx context.Context) {
return

default:
//nolint:errorlint // fuck you linter
panic(fmt.Errorf("sync blocks: %T %w", err, err))
}

Expand Down

0 comments on commit 6c5abb9

Please sign in to comment.