From 8462493cbfefbc0222dc26be892eb39e79072691 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Tue, 27 Mar 2018 19:00:24 +0200 Subject: [PATCH] [rpc] fix subscribing using an abci.ResponseDeliverTx tag Refs #1369 --- CHANGELOG.md | 4 +++- types/event_bus.go | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47b39b23a..e7c61489c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,13 +27,15 @@ BUG FIXES: ## 0.17.2 (TBD) +BUG FIXES: +- [rpc] fix subscribing using an abci.ResponseDeliverTx tag + IMPROVEMENTS: - [rpc] `/tx` and `/tx_search` responses now include the transaction hash ## 0.17.1 (March 27th, 2018) BUG FIXES: - - [types] Actually support `app_state` in genesis as `AppStateJSON` ## 0.17.0 (March 27th, 2018) diff --git a/types/event_bus.go b/types/event_bus.go index 4edaea588..37bd5619d 100644 --- a/types/event_bus.go +++ b/types/event_bus.go @@ -101,7 +101,7 @@ func (b *EventBus) PublishEventTx(event EventDataTx) error { b.Logger.Info("Got tag with an empty key (skipping)", "tag", tag, "tx", event.Tx) continue } - tags[string(tag.Key)] = tag.Value + tags[string(tag.Key)] = string(tag.Value) } // add predefined tags