add tags field to DeliverTx and CheckTx

This commit is contained in:
Anton Kaliaev
2017-11-09 16:52:52 -05:00
parent f07c300c14
commit bb0d7e9526
7 changed files with 192 additions and 125 deletions

View File

@@ -75,7 +75,7 @@ func (app *localClient) DeliverTxAsync(tx []byte) *ReqRes {
app.mtx.Unlock()
return app.callback(
types.ToRequestDeliverTx(tx),
types.ToResponseDeliverTx(res.Code, res.Data, res.Log),
types.ToResponseDeliverTx(res.Code, res.Data, res.Log, res.Tags),
)
}
@@ -85,7 +85,7 @@ func (app *localClient) CheckTxAsync(tx []byte) *ReqRes {
app.mtx.Unlock()
return app.callback(
types.ToRequestCheckTx(tx),
types.ToResponseCheckTx(res.Code, res.Data, res.Log),
types.ToResponseCheckTx(res.Code, res.Data, res.Log, res.Tags),
)
}