docs(zktrie): remove an outdated comment (#765)

fix(zktrie): remove an outdated comment

Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
This commit is contained in:
colin 2024-05-23 21:59:35 +08:00 committed by GitHub
parent fe55edda0f
commit e5b4f3ee9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
}