diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-11-24 18:30:35 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-05-02 15:31:54 +0800 |
commit | ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2 (patch) | |
tree | cab523810cc7c9fe7b66292fc72b78f7841056fb /node | |
parent | 1c20313a6a1a35d5f540f878e7c263327c2ccfc1 (diff) | |
download | dexon-ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2.tar dexon-ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2.tar.gz dexon-ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2.tar.bz2 dexon-ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2.tar.lz dexon-ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2.tar.xz dexon-ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2.tar.zst dexon-ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2.zip |
common/versions, cmd/utils: add geth version contract
Diffstat (limited to 'node')
-rw-r--r-- | node/node.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/node.go b/node/node.go index 18c3f91d8..0864253f4 100644 --- a/node/node.go +++ b/node/node.go @@ -530,6 +530,7 @@ 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() |