Add a empty statik.go to avoid test_lint failure and add gocyclo for BroadcastTxRequestHandlerFn
This commit is contained in:
parent
69b9a53b53
commit
0f29a26efa
|
@ -0,0 +1,12 @@
|
|||
// Code generated by statik. DO NOT EDIT.
|
||||
|
||||
package statik
|
||||
|
||||
import (
|
||||
"github.com/rakyll/statik/fs"
|
||||
)
|
||||
|
||||
func init() {
|
||||
data := ""
|
||||
fs.Register(data)
|
||||
}
|
|
@ -21,7 +21,8 @@ type BroadcastBody struct {
|
|||
Return string `json:"return"`
|
||||
}
|
||||
|
||||
// BroadcastTx REST Handler
|
||||
// BroadcastTxRequestHandlerFn REST Handler
|
||||
// nolint: gocyclo
|
||||
func BroadcastTxRequestHandlerFn(cdc *wire.Codec, ctx context.CLIContext) http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
var txBody BroadcastBody
|
||||
|
|
Loading…
Reference in New Issue