From 6e9f96c680b8d3e812164b1d71835f1b958c7a02 Mon Sep 17 00:00:00 2001 From: StefanIliev545 Date: Tue, 10 Dec 2024 14:22:58 +0200 Subject: [PATCH] Fix for linter. --- go/enclave/enclave_rpc_service.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/go/enclave/enclave_rpc_service.go b/go/enclave/enclave_rpc_service.go index 1e0c41a7d..caedcc7ea 100644 --- a/go/enclave/enclave_rpc_service.go +++ b/go/enclave/enclave_rpc_service.go @@ -138,9 +138,8 @@ func (e *enclaveRPCService) EnclavePublicConfig(context.Context) (*common.Enclav publicCallbacksAddress = &gethcommon.Address{} } - publicContracts := e.scb.PublicSystemContracts() publicContractsMap := make(map[string]gethcommon.Address) - for name, address := range publicContracts { + for name, address := range e.scb.PublicSystemContracts() { publicContractsMap[name] = *address }