aboutsummaryrefslogtreecommitdiffstats
path: root/node/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'node/node.go')
-rw-r--r--node/node.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/node/node.go b/node/node.go
index c4368189f..7cc11b781 100644
--- a/node/node.go
+++ b/node/node.go
@@ -570,12 +570,12 @@ func (n *Node) OpenDatabase(name string, cache, handles int) (ethdb.Database, er
if n.config.DataDir == "" {
return ethdb.NewMemDatabase(), nil
}
- return ethdb.NewLDBDatabase(n.config.resolvePath(name), cache, handles)
+ return ethdb.NewLDBDatabase(n.config.ResolvePath(name), cache, handles)
}
// ResolvePath returns the absolute path of a resource in the instance directory.
func (n *Node) ResolvePath(x string) string {
- return n.config.resolvePath(x)
+ return n.config.ResolvePath(x)
}
// apis returns the collection of RPC descriptors this node offers.