change deps to master. remove tmwire dep

This commit is contained in:
Ethan Buchman
2018-03-08 19:48:17 +00:00
committed by rigelrozanski
parent e3c68e2640
commit 9dc3690a0c
5 changed files with 96 additions and 50 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ import (
"strconv"
"github.com/spf13/cobra"
wire "github.com/tendermint/go-wire"
"github.com/cosmos/cosmos-sdk/client"
tmwire "github.com/tendermint/tendermint/wire"
)
const (
@@ -56,7 +56,7 @@ func getBlock(cmd *cobra.Command, args []string) error {
return err
}
output, err := tmwire.MarshalJSON(res)
output, err := wire.MarshalJSON(res)
// output, err := json.MarshalIndent(res, " ", "")
if err != nil {
return err
+2 -2
View File
@@ -4,9 +4,9 @@ import (
"fmt"
"github.com/spf13/cobra"
wire "github.com/tendermint/go-wire"
"github.com/cosmos/cosmos-sdk/client"
tmwire "github.com/tendermint/tendermint/wire"
)
func statusCommand() *cobra.Command {
@@ -30,7 +30,7 @@ func checkStatus(cmd *cobra.Command, args []string) error {
return err
}
output, err := tmwire.MarshalJSON(res)
output, err := wire.MarshalJSON(res)
// output, err := json.MarshalIndent(res, " ", "")
if err != nil {
return err
+2 -2
View File
@@ -5,9 +5,9 @@ import (
"strconv"
"github.com/spf13/cobra"
wire "github.com/tendermint/go-wire"
"github.com/cosmos/cosmos-sdk/client"
tmwire "github.com/tendermint/tendermint/wire"
)
func validatorCommand() *cobra.Command {
@@ -47,7 +47,7 @@ func getValidators(cmd *cobra.Command, args []string) error {
return err
}
output, err := tmwire.MarshalJSON(res)
output, err := wire.MarshalJSON(res)
// output, err := json.MarshalIndent(res, " ", "")
if err != nil {
return err