node: fix problematic function name in comment

Signed-off-by: slicesequal <slicesequal@outlook.com>
This commit is contained in:
slicesequal 2025-08-28 19:20:21 +08:00
parent e67761ef35
commit f8d40c9714

View file

@ -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) {