From 3a89051d8692b407c3a211839cf625c940d8d3a1 Mon Sep 17 00:00:00 2001 From: slicesequal Date: Thu, 28 Aug 2025 21:15:20 +0800 Subject: [PATCH] node: fix problematic function name in comment (#32510) fix problematic function name in comment Signed-off-by: slicesequal --- node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.go b/node/node.go index 62b5abc34b..f9ebb243b0 100644 --- a/node/node.go +++ b/node/node.go @@ -696,7 +696,7 @@ func (n *Node) EventMux() *event.TypeMux { return n.eventmux } -// OpenDatabase opens an existing database with the given name (or creates one if no +// OpenDatabaseWithOptions opens an existing database with the given name (or creates one if no // previous can be found) from within the node's instance directory. If the node has no // data directory, an in-memory database is returned. func (n *Node) OpenDatabaseWithOptions(name string, opt DatabaseOptions) (ethdb.Database, error) {