Skip to content

Commit

Permalink
Add current node to trace in case of deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm committed Jul 20, 2023
1 parent 575d1ed commit 4c04970
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions state/immutable-trie/trie.go
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,10 @@ func (t *Txn) delete(node Node, search []byte) (Node, bool) {
nc = aux
}

if t.tracer != nil {
t.tracer.Trace(nc)
}

obj, ok := nc.(*ShortNode)
if !ok {
obj := &ShortNode{}
Expand Down

0 comments on commit 4c04970

Please sign in to comment.