Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronc committed Mar 22, 2024
1 parent a72d6fc commit 65dae32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion types/msgservice/msg_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ func RegisterMsgServiceDesc(registrar registry.InterfaceRegistrar, sd *grpc.Serv
}
registrar.RegisterImplementations((*sdk.Msg)(nil), msg)
return nil
}, nil)
}, func(ctx context.Context, req any, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp any, err error) {
// this is needed to avoid the nil handler from being called
return nil, nil
})
}
}

0 comments on commit 65dae32

Please sign in to comment.