Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
linuskendall committed Nov 15, 2023
1 parent 356f35d commit 167e8d0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions multiepoch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 167e8d0

Please sign in to comment.