Skip to content

Commit

Permalink
trie: fix typo in comment (ethereum#25667)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadoy authored Sep 2, 2022
1 parent 38e002f commit 0d68b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trie/secure_trie.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type StateTrie struct {
// and returns MissingNodeError if the root node cannot be found.
func NewStateTrie(owner common.Hash, root common.Hash, db *Database) (*StateTrie, error) {
if db == nil {
panic("trie.NewSecure called without a database")
panic("trie.NewStateTrie called without a database")
}
trie, err := New(owner, root, db)
if err != nil {
Expand Down

0 comments on commit 0d68b6b

Please sign in to comment.