mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 19:46:39 +00:00
core/state: return metrics from prefetcher correctly
This commit is contained in:
parent
ea42e30d59
commit
2e771eaacf
1 changed files with 1 additions and 2 deletions
|
|
@ -125,8 +125,7 @@ func newPrefetchStateReaderInternal(reader StateReader, tasks []*fetchTask, nThr
|
|||
}
|
||||
|
||||
func (r *prefetchStateReader) Metrics() PrefetchMetrics {
|
||||
// TODO (jwasinger) actually implement this
|
||||
return PrefetchMetrics{}
|
||||
return r.metrics
|
||||
}
|
||||
|
||||
func (r *prefetchStateReader) Close() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue