From cdf650fba9fb8e277e06cb0d15ed63f25cfb8cf4 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Thu, 27 Apr 2017 19:06:07 -0400 Subject: [PATCH] rpc: repsonse types use data.Bytes --- rpc/core/types/responses.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpc/core/types/responses.go b/rpc/core/types/responses.go index 469e7106..b4b52c9e 100644 --- a/rpc/core/types/responses.go +++ b/rpc/core/types/responses.go @@ -5,10 +5,10 @@ import ( abci "github.com/tendermint/abci/types" "github.com/tendermint/go-crypto" - data "github.com/tendermint/go-wire/data" + "github.com/tendermint/go-wire" + "github.com/tendermint/go-wire/data" "github.com/tendermint/tendermint/p2p" "github.com/tendermint/tendermint/rpc/lib/types" - "github.com/tendermint/go-wire" "github.com/tendermint/tendermint/types" ) @@ -85,13 +85,13 @@ type ResultBroadcastTx struct { Data data.Bytes `json:"data"` Log string `json:"log"` - Hash []byte `json:"hash"` + Hash data.Bytes `json:"hash"` } type ResultBroadcastTxCommit struct { CheckTx *abci.ResponseCheckTx `json:"check_tx"` DeliverTx *abci.ResponseDeliverTx `json:"deliver_tx"` - Hash []byte `json:"hash"` + Hash data.Bytes `json:"hash"` Height int `json:"height"` }