cosmos-sdk/x/slashing/client/rest/rest.go
SaReN 95cf3c95a6
Remove old tx code from rest (#6939)
* Cleanup rest txs

* Remove nolint

* Update x/ibc to use WriteGeneratedTxResponse

* Update marshaler usages

* Fix PostProcessResponse test

* Update PostProcessResponse
2020-08-05 18:08:13 +00:00

13 lines
228 B
Go

package rest
import (
"github.com/gorilla/mux"
"github.com/cosmos/cosmos-sdk/client"
)
func RegisterHandlers(clientCtx client.Context, r *mux.Router) {
registerQueryRoutes(clientCtx, r)
registerTxHandlers(clientCtx, r)
}