Merge PR #4230: Minor cleanup in tx tags and response format

This commit is contained in:
Alexander Bezobchuk
2019-04-29 23:50:44 -04:00
committed by GitHub
parent 5344e8d768
commit f0f7b7dab7
6 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -698,7 +698,7 @@ func (app *BaseApp) runMsgs(ctx sdk.Context, msgs []sdk.Msg, mode runTxMode) (re
tags = append(tags, sdk.MakeTag(sdk.TagAction, msg.Type()))
tags = append(tags, msgResult.Tags...)
idxLog := sdk.ABCIMessageLog{MsgIndex: msgIdx, Log: msgResult.Log}
idxLog := sdk.ABCIMessageLog{MsgIndex: uint16(msgIdx), Log: msgResult.Log}
// stop execution and return on first failed message
if !msgResult.IsOK() {