mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
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:
parent
fe55edda0f
commit
e5b4f3ee9d
1 changed files with 0 additions and 2 deletions
|
|
@ -127,8 +127,6 @@ func (t *ZkTrie) Commit(LeafCallback) (common.Hash, int, error) {
|
||||||
if err := t.ZkTrie.Commit(); err != nil {
|
if err := t.ZkTrie.Commit(); err != nil {
|
||||||
return common.Hash{}, 0, err
|
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
|
return t.Hash(), 0, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue