We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6b79e3 commit c657222Copy full SHA for c657222
x/upgrade/client/rest/query.go
@@ -34,7 +34,7 @@ func getCurrentPlanHandler(clientCtx client.Context) func(http.ResponseWriter, *
34
}
35
36
var plan types.Plan
37
- err = clientCtx.LegacyAmino.UnmarshalBinaryBare(res, &plan)
+ err = clientCtx.LegacyAmino.UnmarshalJSON(res, &plan)
38
if rest.CheckInternalServerError(w, err) {
39
return
40
0 commit comments