Update x/stake/client/rest/query.go

Co-Authored-By: sunnya97 <sunnya97@gmail.com>
This commit is contained in:
Federico Kunze
2018-11-05 16:42:49 -08:00
committed by GitHub
co-authored by sunnya97
parent dfddac394d
commit 080a7818db
+1 -1
View File
@@ -78,7 +78,7 @@ func registerQueryRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Co
validatorHandlerFn(cliCtx, cdc),
).Methods("GET")
// Get all delegations to a validator
// Get all delegations to a validator
r.HandleFunc(
"/stake/validators/{validatorAddr}/delegations",
validatorDelegationsHandlerFn(cliCtx, cdc),