From 4c525385cd179bb1ca2887696dc1975b044047c4 Mon Sep 17 00:00:00 2001 From: Black Swan Date: Thu, 20 Nov 2025 19:34:05 +0200 Subject: [PATCH] simplify range expression --- consensus/helper/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/consensus/helper/state.go b/consensus/helper/state.go index f644287..6939bae 100644 --- a/consensus/helper/state.go +++ b/consensus/helper/state.go @@ -305,7 +305,7 @@ func WithPreviousRankTimeoutCertificate[StateT models.Unique](previousRankTimeou func WithWeightedIdentityList(count int) []models.WeightedIdentity { wi := []models.WeightedIdentity{} - for _ = range count { + for range count { wi = append(wi, &TestWeightedIdentity{ ID: MakeIdentity(), })