aboutsummaryrefslogtreecommitdiffstats
path: root/node/config.go
diff options
context:
space:
mode:
authorChase Wright <mysticryuujin@gmail.com>2017-07-18 16:58:46 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-07-18 16:58:46 +0800
commit1802682f65655a69cb17c21113100bac16539192 (patch)
tree3dbf442ba987f5d7ebbe9d12205d98ee94fe1906 /node/config.go
parent4d2249773a6dbab04ec0656a9c6687a66a16edf0 (diff)
downloadgo-tangerine-1802682f65655a69cb17c21113100bac16539192.tar
go-tangerine-1802682f65655a69cb17c21113100bac16539192.tar.gz
go-tangerine-1802682f65655a69cb17c21113100bac16539192.tar.bz2
go-tangerine-1802682f65655a69cb17c21113100bac16539192.tar.lz
go-tangerine-1802682f65655a69cb17c21113100bac16539192.tar.xz
go-tangerine-1802682f65655a69cb17c21113100bac16539192.tar.zst
go-tangerine-1802682f65655a69cb17c21113100bac16539192.zip
node: Rename TrusterNodes (#14827)
* node: Rename TrusterNodes * node: Rename TrusterNodes
Diffstat (limited to 'node/config.go')
-rw-r--r--node/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/config.go b/node/config.go
index 61e0008ef..abbe64f43 100644
--- a/node/config.go
+++ b/node/config.go
@@ -316,8 +316,8 @@ func (c *Config) StaticNodes() []*discover.Node {
return c.parsePersistentNodes(c.resolvePath(datadirStaticNodes))
}
-// TrusterNodes returns a list of node enode URLs configured as trusted nodes.
-func (c *Config) TrusterNodes() []*discover.Node {
+// TrustedNodes returns a list of node enode URLs configured as trusted nodes.
+func (c *Config) TrustedNodes() []*discover.Node {
return c.parsePersistentNodes(c.resolvePath(datadirTrustedNodes))
}