From 0d68b6bf10350f981caa19cd88f4847e67f28a63 Mon Sep 17 00:00:00 2001 From: Seungbae Yu Date: Sat, 3 Sep 2022 00:48:26 +0900 Subject: [PATCH] trie: fix typo in comment (#25667) --- trie/secure_trie.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie/secure_trie.go b/trie/secure_trie.go index 1da152477d..e26c224655 100644 --- a/trie/secure_trie.go +++ b/trie/secure_trie.go @@ -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 {