triedb/database: minor docstring fix

This commit is contained in:
Martin HS 2024-11-04 15:08:58 +01:00 committed by GitHub
parent 3531caf221
commit ee1b2c7c86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@ type StateReader interface {
Storage(accountHash, storageHash common.Hash) ([]byte, error) Storage(accountHash, storageHash common.Hash) ([]byte, error)
} }
// StateDatabase warps the methods of a backing state store. // StateDatabase wraps the methods of a backing state store.
type StateDatabase interface { type StateDatabase interface {
// StateReader returns a state reader associated with the specific state. // StateReader returns a state reader associated with the specific state.
// An error will be returned if the specified state is not available. // An error will be returned if the specified state is not available.