We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e002f commit 0d68b6bCopy full SHA for 0d68b6b
trie/secure_trie.go
@@ -58,7 +58,7 @@ type StateTrie struct {
58
// and returns MissingNodeError if the root node cannot be found.
59
func NewStateTrie(owner common.Hash, root common.Hash, db *Database) (*StateTrie, error) {
60
if db == nil {
61
- panic("trie.NewSecure called without a database")
+ panic("trie.NewStateTrie called without a database")
62
}
63
trie, err := New(owner, root, db)
64
if err != nil {
0 commit comments