Skip to content

Commit

Permalink
Fix governance query unmarshal
Browse files Browse the repository at this point in the history
  • Loading branch information
cwgoes committed Jun 29, 2018
1 parent 22414b3 commit 7770204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gov/client/rest/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func buildReq(w http.ResponseWriter, r *http.Request, cdc *wire.Codec, req inter
writeErr(&w, http.StatusBadRequest, err.Error())
return err
}
err = cdc.UnmarshalJSON(body, &req)
err = cdc.UnmarshalJSON(body, req)
if err != nil {
writeErr(&w, http.StatusBadRequest, err.Error())
return err
Expand Down

0 comments on commit 7770204

Please sign in to comment.