From 5b81938e576ddd17e1dfd3fe5806b0686c906081 Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Mon, 14 May 2018 16:49:26 -0700 Subject: [PATCH] Enable stake REST routes --- client/lcd/root.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/lcd/root.go b/client/lcd/root.go index a7be5079bf..df8be897c3 100644 --- a/client/lcd/root.go +++ b/client/lcd/root.go @@ -22,6 +22,7 @@ import ( auth "github.com/cosmos/cosmos-sdk/x/auth/client/rest" bank "github.com/cosmos/cosmos-sdk/x/bank/client/rest" ibc "github.com/cosmos/cosmos-sdk/x/ibc/client/rest" + stake "github.com/cosmos/cosmos-sdk/x/stake/client/rest" ) const ( @@ -83,5 +84,6 @@ func createHandler(cdc *wire.Codec) http.Handler { auth.RegisterRoutes(ctx, r, cdc, "acc") bank.RegisterRoutes(ctx, r, cdc, kb) ibc.RegisterRoutes(ctx, r, cdc, kb) + stake.RegisterRoutes(ctx, r, cdc, kb) return r }