From bfeccba088c74c3f03b2631a4043d9877bb7fb69 Mon Sep 17 00:00:00 2001 From: _dssei_ Date: Wed, 30 Oct 2024 14:08:41 -0700 Subject: [PATCH] fix linting issues --- x/confidentialtransfers/types/msgs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/confidentialtransfers/types/msgs.go b/x/confidentialtransfers/types/msgs.go index a555500fb..71ffa739d 100644 --- a/x/confidentialtransfers/types/msgs.go +++ b/x/confidentialtransfers/types/msgs.go @@ -179,7 +179,7 @@ func (m *MsgTransfer) FromProto() (*Transfer, error) { } // iterate over m.Auditors and convert them to types.Auditor - var auditors []*TransferAuditor + auditors := make([]*TransferAuditor, 0, len(m.Auditors)) for _, auditor := range m.Auditors { auditorData, e := auditor.FromProto() if e != nil {