mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 03:10:48 +00:00
removed outdated TODO
This commit is contained in:
parent
b348dd5ae4
commit
6eee5253b8
1 changed files with 0 additions and 10 deletions
|
|
@ -379,16 +379,6 @@ func (s *BALStateTransition) CommitWithUpdate(block uint64, deleteEmptyObjects b
|
|||
if err := s.db.Commit(update); err != nil {
|
||||
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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue