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

This commit is contained in:
Aaron Craelius
2023-02-16 18:03:02 +01:00
committed by GitHub
parent c884e276f2
commit 94b0bdcc5c
+1 -1
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