removed outdated TODO

This commit is contained in:
Jared Wasinger 2026-06-17 16:06:13 -04:00
parent b348dd5ae4
commit 6eee5253b8

View file

@ -379,16 +379,6 @@ func (s *BALStateTransition) CommitWithUpdate(block uint64, deleteEmptyObjects b
if err := s.db.Commit(update); err != nil { if err := s.db.Commit(update); err != nil {
return common.Hash{}, nil, err return common.Hash{}, nil, err
} }
// TODO: fix the following metrics:
/*
snapshotCommits, trieDBCommits, err := flushStateUpdate(s.db, block, ret)
if err != nil {
return common.Hash{}, nil, err
}
s.metrics.SnapshotCommits, s.metrics.TrieDBCommits = snapshotCommits, trieDBCommits
s.metrics.TotalCommitTime = time.Since(commitStart)
*/
return root, update, nil return root, update, nil
} }