node: fix problematic function name in comment (#32510)

fix problematic function name in comment

Signed-off-by: slicesequal <slicesequal@outlook.com>
This commit is contained in:
slicesequal 2025-08-28 21:15:20 +08:00 committed by GitHub
parent e67761ef35
commit 3a89051d86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -696,7 +696,7 @@ func (n *Node) EventMux() *event.TypeMux {
return n.eventmux 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 // previous can be found) from within the node's instance directory. If the node has no
// data directory, an in-memory database is returned. // data directory, an in-memory database is returned.
func (n *Node) OpenDatabaseWithOptions(name string, opt DatabaseOptions) (ethdb.Database, error) { func (n *Node) OpenDatabaseWithOptions(name string, opt DatabaseOptions) (ethdb.Database, error) {