Skip to content

Commit

Permalink
nit: remove stale comment (cosmos#5577)
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-axner committed Jan 11, 2024
1 parent 2375109 commit 8624ecd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/core/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1192,8 +1192,6 @@ func convertToErrorEvents(events sdk.Events) sdk.Events {
newAttributes[j] = sdk.NewAttribute(coretypes.ErrorAttributeKeyPrefix+attribute.Key, attribute.Value)
}

// no need to append the error attribute prefix to the event type because
// the event type is not associated to a value that can be misinterpreted
newEvents[i] = sdk.NewEvent(coretypes.ErrorAttributeKeyPrefix+event.Type, newAttributes...)
}

Expand Down

0 comments on commit 8624ecd

Please sign in to comment.