mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
trie: revert back lock before reset
This commit is contained in:
parent
91532b6a4e
commit
98d09399f7
1 changed files with 4 additions and 1 deletions
|
|
@ -759,7 +759,10 @@ func (t *Trie) Reset() {
|
|||
t.owner = common.Hash{}
|
||||
t.unhashed = 0
|
||||
t.uncommitted = 0
|
||||
|
||||
t.tracerMutex.Lock()
|
||||
t.tracer.reset()
|
||||
t.committed = false
|
||||
t.tracerMutex.Unlock()
|
||||
|
||||
t.committed = false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue