From 4ee616562ed79e90528c4861d81ff5c77921f480 Mon Sep 17 00:00:00 2001 From: Sergi Rene Date: Sat, 9 Nov 2024 16:28:09 +0100 Subject: [PATCH] lint fix --- .golangci.yml | 5 ++++- block/manager.go | 1 - block/modes.go | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 53f3833d1..3131b8918 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -48,6 +48,9 @@ linters: - unconvert - unused +excludes: + gosec: + - G115 issues: exclude-use-default: false exclude: @@ -71,4 +74,4 @@ linters-settings: severity: warning disabled: true errcheck: - check-type-assertions: true \ No newline at end of file + check-type-assertions: true diff --git a/block/manager.go b/block/manager.go index ea32e8a38..5a424e2a9 100644 --- a/block/manager.go +++ b/block/manager.go @@ -408,5 +408,4 @@ func (m *Manager) freezeNode(ctx context.Context, err error) { if m.RunMode == RunModeFullNode { m.unsubscribeFullNodeEvents(ctx) } - } diff --git a/block/modes.go b/block/modes.go index 000d03fa1..bd99ec44b 100644 --- a/block/modes.go +++ b/block/modes.go @@ -3,6 +3,7 @@ package block import ( "context" "fmt" + "github.com/dymensionxyz/dymint/types" "github.com/dymensionxyz/dymint/p2p"