fix linter warning (#4133)

This commit is contained in:
Alex Sharov 2022-05-12 12:03:25 +07:00 committed by GitHub
parent de606406c9
commit da2b269034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,6 +149,7 @@ func (s *Snapshot) copy() *Snapshot {
return cpy return cpy
} }
//nolint
func (s *Snapshot) isMajorityFork(forkHash string) bool { func (s *Snapshot) isMajorityFork(forkHash string) bool {
ally := 0 ally := 0
for _, h := range s.RecentForkHashes { for _, h := range s.RecentForkHashes {