refactor(core)!: add error return parameter to RegisterServices (#15045)

This commit is contained in:
Aaron Craelius 2023-02-16 12:03:02 -05:00 committed by GitHub
parent c884e276f2
commit 94b0bdcc5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ type HasServices interface {
// The service registrar will figure out which type of service you are
// implementing based on the presence (or absence) of protobuf options. You
// do not need to specify this in golang code.
RegisterServices(grpc.ServiceRegistrar)
RegisterServices(grpc.ServiceRegistrar) error
}
// HasBeginBlocker is the extension interface that modules should implement to run