rpc: response types use Result instead of pb Response

This commit is contained in:
Ethan Buchman
2017-04-27 19:34:25 -04:00
parent cdf650fba9
commit a518d08839
5 changed files with 47 additions and 19 deletions

View File

@@ -36,7 +36,7 @@ func Tx(hash []byte, prove bool) (*ctypes.ResultTx, error) {
return &ctypes.ResultTx{
Height: height,
Index: index,
TxResult: r.Result,
TxResult: r.Result.Result(),
Tx: r.Tx,
Proof: proof,
}, nil