From 72c3ea3872424fba6b564de9d722acd74e6ecedc Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Wed, 29 Nov 2017 20:13:59 -0600 Subject: [PATCH] include tags into dummy application DeliverTx response Refs https://github.com/tendermint/tendermint/pull/835 --- example/dummy/dummy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/example/dummy/dummy.go b/example/dummy/dummy.go index 65d524cfe..45462c535 100644 --- a/example/dummy/dummy.go +++ b/example/dummy/dummy.go @@ -35,7 +35,8 @@ func (app *DummyApplication) DeliverTx(tx []byte) types.ResponseDeliverTx { } else { 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 {