Return tags on changePubkey

This commit is contained in:
Christopher Goes 2018-05-15 23:40:01 +02:00
parent 2c6b414098
commit c81e37ce7a
No known key found for this signature in database
GPG Key ID: E828D98232D328D3

View File

@ -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()),
}
}