Skip to content

Commit 0d68b6b

Browse files
authored
trie: fix typo in comment (#25667)
1 parent 38e002f commit 0d68b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trie/secure_trie.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ type StateTrie struct {
5858
// and returns MissingNodeError if the root node cannot be found.
5959
func NewStateTrie(owner common.Hash, root common.Hash, db *Database) (*StateTrie, error) {
6060
if db == nil {
61-
panic("trie.NewSecure called without a database")
61+
panic("trie.NewStateTrie called without a database")
6262
}
6363
trie, err := New(owner, root, db)
6464
if err != nil {

0 commit comments

Comments
 (0)