Skip to content

Commit

Permalink
fix service registration
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Oct 14, 2024
1 parent 6423b35 commit aacba4c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,11 @@ func NewAppModule(
}

// RegisterServices registers a gRPC query service to respond to the module-specific gRPC queries
func (am AppModule) RegisterServices(registrar grpc.ServiceRegistrar) {
func (am AppModule) RegisterServices(registrar grpc.ServiceRegistrar) error {
types.RegisterMsgServer(registrar, keeper.NewMsgServerImpl(am.keeper))
types.RegisterQueryServer(registrar, keeper.NewQueryServerImpl(am.keeper))

return nil
}

// InitGenesis performs the module's genesis initialization. It returns no validator updates.
Expand Down

0 comments on commit aacba4c

Please sign in to comment.