From 167e8d0596bd5293b0f01e0c9251e9708c8a9b13 Mon Sep 17 00:00:00 2001 From: linuskendall Date: Wed, 15 Nov 2023 13:41:30 +0000 Subject: [PATCH] Formatting --- multiepoch.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/multiepoch.go b/multiepoch.go index f7a2dbbc..7408d098 100644 --- a/multiepoch.go +++ b/multiepoch.go @@ -298,19 +298,19 @@ func newMultiEpochHandler(handler *MultiEpoch, lsConf *ListenerConfig) func(ctx method := rpcRequest.Method if method == "getVersion" { - versionInfo := make(map[string]any) + versionInfo := make(map[string]any) faithfulVersion := handler.GetFaithfulVersionInfo() - versionInfo["faithful"] = faithfulVersion + versionInfo["faithful"] = faithfulVersion - solanaVersion := handler.GetSolanaVersionInfo() - for k,v := range solanaVersion { - versionInfo[k] = v - } + solanaVersion := handler.GetSolanaVersionInfo() + for k, v := range solanaVersion { + versionInfo[k] = v + } err := rqCtx.ReplyRaw( reqCtx, rpcRequest.ID, - versionInfo, + versionInfo, ) if err != nil { klog.Errorf("[%s] failed to reply to getVersion: %v", reqID, err)