mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-06 20:12:15 +00:00
include tags into dummy application DeliverTx response
Refs https://github.com/tendermint/tendermint/pull/835
This commit is contained in:
parent
5c29adc081
commit
72c3ea3872
@ -35,7 +35,8 @@ func (app *DummyApplication) DeliverTx(tx []byte) types.ResponseDeliverTx {
|
|||||||
} else {
|
} else {
|
||||||
app.state.Set(tx, tx)
|
app.state.Set(tx, tx)
|
||||||
}
|
}
|
||||||
return types.ResponseDeliverTx{Code: types.CodeType_OK}
|
tags := []*types.KVPair{{Key: "app.creator", ValueType: types.KVPair_STRING, ValueString: "jae"}}
|
||||||
|
return types.ResponseDeliverTx{Code: types.CodeType_OK, Tags: tags}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (app *DummyApplication) CheckTx(tx []byte) types.ResponseCheckTx {
|
func (app *DummyApplication) CheckTx(tx []byte) types.ResponseCheckTx {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user