From 780f799a4a3153dfb7c94f56d7c3052e9e4164f5 Mon Sep 17 00:00:00 2001 From: sweexordious Date: Sun, 3 Dec 2023 03:33:42 +0100 Subject: [PATCH] chore: golangci --- cmd/blobstream/query/cmd.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/blobstream/query/cmd.go b/cmd/blobstream/query/cmd.go index bf17638c..dcf0a166 100644 --- a/cmd/blobstream/query/cmd.go +++ b/cmd/blobstream/query/cmd.go @@ -257,15 +257,16 @@ func SignersRange() *cobra.Command { }]++ } else { // keep the same number of signatures the same but still have the value in the map - signersMap[validatorInfo{ + val := signersMap[validatorInfo{ EvmAddress: sig.EvmAddress, Moniker: sig.Moniker, ValopAddress: sig.ValopAddress, - }] = signersMap[validatorInfo{ + }] + signersMap[validatorInfo{ EvmAddress: sig.EvmAddress, Moniker: sig.Moniker, ValopAddress: sig.ValopAddress, - }] + }] = val } } }