summaryrefslogtreecommitdiff
path: root/rpc/service.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/service.go')
-rw-r--r--rpc/service.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/service.go b/rpc/service.go
index b461bdc2..2dfb04b0 100644
--- a/rpc/service.go
+++ b/rpc/service.go
@@ -63,9 +63,9 @@ func (s *Service) Serve() error {
}
// Close stop Service Service.
-func (s *Service) Stop() error {
+func (s *Service) Stop() {
+ //todo: is started?
close(s.stop)
- return nil
}
// Register publishes in the server the set of methods of the