fixed tests + removed indexed txs

This commit is contained in:
Fabian Weber
2018-03-17 22:17:56 +01:00
committed by Ethan Buchman
parent cf6f04978c
commit cbbb3be0d4
3 changed files with 66 additions and 32 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ func AddCommands(cmd *cobra.Command, cdc *wire.Codec) {
}
func RegisterRoutes(r *mux.Router, cdc *wire.Codec) {
r.HandleFunc("/txs", SearchTxRequestHandler(cdc)).Methods("GET")
// r.HandleFunc("/txs", SearchTxRequestHandler(cdc)).Methods("GET")
r.HandleFunc("/txs/{hash}", QueryTxRequestHandler(cdc)).Methods("GET")
// r.HandleFunc("/txs/sign", SignTxRequstHandler).Methods("POST")
// r.HandleFunc("/txs/broadcast", BroadcastTxRequestHandler).Methods("POST")