Browse Source

remove go-wire from test/app/grpc_client

pull/1693/head v0.19.9-rc0
Ethan Buchman 7 years ago
parent
commit
775fef31c2
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      test/app/grpc_client.go

+ 8
- 2
test/app/grpc_client.go View File

@ -2,12 +2,12 @@ package main
import (
"encoding/hex"
"encoding/json"
"fmt"
"os"
"context"
"github.com/tendermint/go-wire"
"github.com/tendermint/tendermint/rpc/grpc"
)
@ -32,5 +32,11 @@ func main() {
fmt.Println(err)
os.Exit(1)
}
fmt.Println(string(wire.JSONBytes(res)))
bz, err := json.Marshal(res)
if err != nil {
fmt.Println(err)
os.Exit(1)
}
fmt.Println(string(bz))
}

Loading…
Cancel
Save