From c81e37ce7a75b3a43c9ab9f48cdf68f068424f52 Mon Sep 17 00:00:00 2001 From: Christopher Goes Date: Tue, 15 May 2018 23:40:01 +0200 Subject: [PATCH] Return tags on changePubkey --- x/auth/handler.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x/auth/handler.go b/x/auth/handler.go index bba03c56bc..8a0e1061ae 100644 --- a/x/auth/handler.go +++ b/x/auth/handler.go @@ -28,6 +28,7 @@ func handleMsgChangeKey(ctx sdk.Context, am AccountMapper, msg MsgChangeKey) sdk return err.Result() } - // TODO: add some tags so we can search it! - return sdk.Result{} // TODO + return sdk.Result{ + Tags: sdk.NewTags("action", []byte("changePubkey"), "address", msg.Address.Bytes(), "pubkey", msg.NewPubKey.Bytes()), + } }