From da2b269034e1b179e597ad6a3632ae8528ae1e15 Mon Sep 17 00:00:00 2001 From: Alex Sharov Date: Thu, 12 May 2022 12:03:25 +0700 Subject: [PATCH] fix linter warning (#4133) --- consensus/parlia/snapshot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/consensus/parlia/snapshot.go b/consensus/parlia/snapshot.go index de56f3a54..2d9198d1d 100644 --- a/consensus/parlia/snapshot.go +++ b/consensus/parlia/snapshot.go @@ -149,6 +149,7 @@ func (s *Snapshot) copy() *Snapshot { return cpy } +//nolint func (s *Snapshot) isMajorityFork(forkHash string) bool { ally := 0 for _, h := range s.RecentForkHashes {