mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 23:57:23 +00:00
core,trie: fix typo in TransitionTrie (#32491)
Change `NewTransitionTree` to the correct `NewTransitionTrie`. Signed-off-by: pxwanglu <pxwanglu@icloud.com>
This commit is contained in:
parent
f62eec955d
commit
d0602ba45a
2 changed files with 2 additions and 2 deletions
|
|
@ -253,7 +253,7 @@ func newTrieReader(root common.Hash, db *triedb.Database, cache *utils.PointCach
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
tr = trie.NewTransitionTree(mpt, tr.(*trie.VerkleTrie), false)
|
||||
tr = trie.NewTransitionTrie(mpt, tr.(*trie.VerkleTrie), false)
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ type TransitionTrie struct {
|
|||
}
|
||||
|
||||
// NewTransitionTrie creates a new TransitionTrie.
|
||||
func NewTransitionTree(base *SecureTrie, overlay *VerkleTrie, st bool) *TransitionTrie {
|
||||
func NewTransitionTrie(base *SecureTrie, overlay *VerkleTrie, st bool) *TransitionTrie {
|
||||
return &TransitionTrie{
|
||||
overlay: overlay,
|
||||
base: base,
|
||||
|
|
|
|||
Loading…
Reference in a new issue