From 6c5abb9714fed4f009e64815a54ea4c9e9ec4584 Mon Sep 17 00:00:00 2001 From: Joshua Sing Date: Tue, 24 Dec 2024 01:32:58 +1100 Subject: [PATCH] Fix linting errors (nolint) --- service/tbc/tbc.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/service/tbc/tbc.go b/service/tbc/tbc.go index 3d915595..ba5ccfc3 100644 --- a/service/tbc/tbc.go +++ b/service/tbc/tbc.go @@ -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 @@ -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)) }