From e5b4f3ee9d6a19ef6661ade943988da460cab6d5 Mon Sep 17 00:00:00 2001 From: colin <102356659+colinlyguo@users.noreply.github.com> Date: Thu, 23 May 2024 21:59:35 +0800 Subject: [PATCH] docs(zktrie): remove an outdated comment (#765) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(zktrie): remove an outdated comment Co-authored-by: Péter Garamvölgyi --- trie/zk_trie.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/trie/zk_trie.go b/trie/zk_trie.go index ed266c518e..044e18ad66 100644 --- a/trie/zk_trie.go +++ b/trie/zk_trie.go @@ -127,8 +127,6 @@ func (t *ZkTrie) Commit(LeafCallback) (common.Hash, int, error) { if err := t.ZkTrie.Commit(); err != nil { return common.Hash{}, 0, err } - // in current implmentation, every update of trie already writes into database - // so Commmit does nothing return t.Hash(), 0, nil }