aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/node.go2
-rw-r--r--node/service.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/node/node.go b/node/node.go
index 18c3f91d8..06a1b7aed 100644
--- a/node/node.go
+++ b/node/node.go
@@ -311,7 +311,7 @@ func (n *Node) startIPC(apis []rpc.API) error {
glog.V(logger.Error).Infof("IPC accept failed: %v", err)
continue
}
- go handler.ServeCodec(rpc.NewJSONCodec(conn), rpc.OptionMethodInvocation | rpc.OptionSubscriptions)
+ go handler.ServeCodec(rpc.NewJSONCodec(conn), rpc.OptionMethodInvocation|rpc.OptionSubscriptions)
}
}()
// All listeners booted successfully
diff --git a/node/service.go b/node/service.go
index 77b2ddc92..4d9a6e42c 100644
--- a/node/service.go
+++ b/node/service.go
@@ -68,7 +68,7 @@ type ServiceConstructor func(ctx *ServiceContext) (Service, error)
// - Restart logic is not required as the node will create a fresh instance
// every time a service is started.
type Service interface {
- // Protocol retrieves the P2P protocols the service wishes to start.
+ // Protocols retrieves the P2P protocols the service wishes to start.
Protocols() []p2p.Protocol
// APIs retrieves the list of RPC descriptors the service provides