From 0158d136b2e003ef9e42895e09e29bd8586fee38 Mon Sep 17 00:00:00 2001 From: dbadoy4874 Date: Fri, 2 Sep 2022 23:27:49 +0900 Subject: [PATCH] trie: small typo --- 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 1da152477d3..e26c2246550 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 {