add Height to ResultBroadcastTxCommit and EventDataTx

This commit is contained in:
Ethan Buchman
2017-04-12 18:33:48 -04:00
parent 2a59cda77e
commit ffe6d58a58
4 changed files with 15 additions and 11 deletions
+1
View File
@@ -89,6 +89,7 @@ func BroadcastTxCommit(tx types.Tx) (*ctypes.ResultBroadcastTxCommit, error) {
CheckTx: checkTxR,
DeliverTx: deliverTxR,
TxID: tx.Hash(),
Height: deliverTxRes.Height,
}, nil
case <-timer.C:
log.Error("failed to include tx")
+1
View File
@@ -75,6 +75,7 @@ type ResultBroadcastTxCommit struct {
CheckTx *abci.ResponseCheckTx `json:"check_tx"`
DeliverTx *abci.ResponseDeliverTx `json:"deliver_tx"`
TxID []byte `json:"tx_id"`
Height int `json:"height"`
}
type ResultTx struct {