From ecd7199c4367bbffd5000ab6ee9bad3ef88de5d2 Mon Sep 17 00:00:00 2001 From: Gustav Simonsson Date: Tue, 24 Nov 2015 11:30:35 +0100 Subject: common/versions, cmd/utils: add geth version contract --- node/node.go | 1 + 1 file changed, 1 insertion(+) (limited to 'node/node.go') 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() -- cgit