WithTrustNode, Makefile fixes, 'make format'

This commit is contained in:
Christopher Goes
2018-10-04 08:34:39 +02:00
parent 1d4cfe89d2
commit c676eab46b
10 changed files with 31 additions and 33 deletions
+2 -2
View File
@@ -372,8 +372,8 @@ func TestCoinSendGenerateSignAndBroadcast(t *testing.T) {
// broadcast tx
broadcastPayload := struct {
Tx auth.StdTx `json:"tx"`
Return string `json:"return"`
Tx auth.StdTx `json:"tx"`
Return string `json:"return"`
}{Tx: signedMsg, Return: "block"}
json, err = cdc.MarshalJSON(broadcastPayload)
require.Nil(t, err)
-1
View File
@@ -141,7 +141,6 @@ func createHandler(cdc *codec.Codec) *mux.Router {
cliCtx := context.NewCLIContext().WithCodec(cdc)
// TODO: make more functional? aka r = keys.RegisterRoutes(r)
r.HandleFunc("/version", CLIVersionRequestHandler).Methods("GET")
r.HandleFunc("/node_version", NodeVersionRequestHandler(cliCtx)).Methods("GET")