diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-04-28 17:00:11 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-05-02 21:20:21 +0800 |
commit | 586eddfd09558bfd71f23c2e50c270d2ca665d49 (patch) | |
tree | 4015e542e0397c606d1f14ef23d15463881be554 /node/node.go | |
parent | d46da273c6731512b4114393856a96be06505797 (diff) | |
download | dexon-586eddfd09558bfd71f23c2e50c270d2ca665d49.tar.gz dexon-586eddfd09558bfd71f23c2e50c270d2ca665d49.tar.zst dexon-586eddfd09558bfd71f23c2e50c270d2ca665d49.zip |
release, all: integrate the release service into geth
Diffstat (limited to 'node/node.go')
-rw-r--r-- | node/node.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/node/node.go b/node/node.go index 0864253f4..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 @@ -530,7 +530,6 @@ func (n *Node) Server() *p2p.Server { } // Service retrieves a currently running service registered of a specific type. -// NOTE: must be called with double pointer to service func (n *Node) Service(service interface{}) error { n.lock.RLock() defer n.lock.RUnlock() |