From d49bfca408e6657f641fd0a6bd25ed37748de7c1 Mon Sep 17 00:00:00 2001 From: VM Date: Mon, 9 Sep 2024 21:18:29 +0800 Subject: [PATCH] test: fix pathdb unit test --- triedb/pathdb/nodebufferlist.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/triedb/pathdb/nodebufferlist.go b/triedb/pathdb/nodebufferlist.go index 6b2b3447c9..46a2396a2d 100644 --- a/triedb/pathdb/nodebufferlist.go +++ b/triedb/pathdb/nodebufferlist.go @@ -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)