trie: fix typo in comment (#25667)

pull/25669/head
Seungbae Yu 2 years ago committed by GitHub
parent 38e002f464
commit 0d68b6bf10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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 {

Loading…
Cancel
Save