core, eth, les, trie: add a prefix to contract code (#21080)
This commit is contained in:
@ -473,3 +473,9 @@ func (t *Trie) hashRoot(db *Database) (node, node, error) {
|
||||
t.unhashed = 0
|
||||
return hashed, cached, nil
|
||||
}
|
||||
|
||||
// Reset drops the referenced root node and cleans all internal state.
|
||||
func (t *Trie) Reset() {
|
||||
t.root = nil
|
||||
t.unhashed = 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user