Skip to content

Commit

Permalink
Fixed error in rest redelegation endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Kunze committed Oct 2, 2018
1 parent fcb1044 commit 96b997f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/stake/client/rest/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func registerQueryRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Co

// Query a redelegation of a delegator's tokens from a validator to another
r.HandleFunc(
"/stake/delegators/{delegatorAddr}/redelegations/validator_from/{validatorSrcAddr}/validator_to/{validatorDestAddr}",
"/stake/delegators/{delegatorAddr}/redelegations/validator_from/{validatorSrcAddr}/validator_to/{validatorDstAddr}",
redelegationHandlerFn(cliCtx, cdc),
).Methods("GET")

Expand Down

0 comments on commit 96b997f

Please sign in to comment.