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 and jagdeep sidhu committed Sep 2, 2022
1 parent ab14223 commit dcc3873
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 dcc3873

Please sign in to comment.