Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Feb 27, 2024
1 parent 9700f78 commit c7b8a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (m *msgRouterService) InvokeUntyped(ctx context.Context, msg protoiface.Mes
return msgResp, err
}

// msgTypeURL returns the TypeURL of a `sdk.Msg`.
// msgTypeURL returns the TypeURL of a proto message.
func msgTypeURL(msg proto.Message) string {
if m, ok := msg.(protov2.Message); ok {
return "/" + string(m.ProtoReflect().Descriptor().FullName())
Expand Down

0 comments on commit c7b8a8a

Please sign in to comment.