From 2ab0679d99be7286576edc3420a02886e79dda8c Mon Sep 17 00:00:00 2001 From: VM Date: Mon, 9 Sep 2024 21:10:47 +0800 Subject: [PATCH] test: fix pathdb unit test --- triedb/pathdb/nodebufferlist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/triedb/pathdb/nodebufferlist.go b/triedb/pathdb/nodebufferlist.go index 6bebf7fb9a..d777b68fd2 100644 --- a/triedb/pathdb/nodebufferlist.go +++ b/triedb/pathdb/nodebufferlist.go @@ -673,7 +673,7 @@ func (nf *nodebufferlist) forceFlush() { log.Error("Failed to commit nodes to base node buffer", "error", err) return false } - return true + return false } nf.traverse(commitFunc) }