Skip to content

Commit

Permalink
test: fix pathdb unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
VM committed Sep 10, 2024
1 parent 30fe3dd commit d49bfca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions triedb/pathdb/nodebufferlist.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,11 +667,9 @@ func (nf *nodebufferlist) traverseReverse(cb func(*multiDifflayer) bool) {
func (nf *nodebufferlist) forceFlush() {
commitFunc := func(buffer *multiDifflayer) bool {
log.Info("rj238328")
nf.baseMux.Lock()
log.Info("dm392d29m")
err := nf.base.commit(buffer.root, buffer.id, buffer.block, buffer.layers, buffer.nodes)
log.Info("dm329d23910")
nf.baseMux.Unlock()
log.Info("d23903d2i")
if err != nil {
log.Error("Failed to commit nodes to base node buffer", "error", err)
Expand Down

0 comments on commit d49bfca

Please sign in to comment.