aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-05-03 19:19:05 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-05-03 19:19:05 +0800
commit488528e9e4bea886b381fad4333b1a61553eb2ed (patch)
tree3173d43775195e3055c5553ec54b5bb6012b86c7 /node
parent1c20313a6a1a35d5f540f878e7c263327c2ccfc1 (diff)
parent4536b993ff6a5b3751f59b52744078e150296654 (diff)
downloadgo-tangerine-488528e9e4bea886b381fad4333b1a61553eb2ed.tar
go-tangerine-488528e9e4bea886b381fad4333b1a61553eb2ed.tar.gz
go-tangerine-488528e9e4bea886b381fad4333b1a61553eb2ed.tar.bz2
go-tangerine-488528e9e4bea886b381fad4333b1a61553eb2ed.tar.lz
go-tangerine-488528e9e4bea886b381fad4333b1a61553eb2ed.tar.xz
go-tangerine-488528e9e4bea886b381fad4333b1a61553eb2ed.tar.zst
go-tangerine-488528e9e4bea886b381fad4333b1a61553eb2ed.zip
Merge pull request #2497 from karalabe/version-contract-3
Geth release oracle
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