From 5d63c33a3568a45806c19d1d8bc6e61e7b70015c Mon Sep 17 00:00:00 2001 From: zjubfd <296179868@qq.com> Date: Tue, 11 Jan 2022 11:01:22 +0800 Subject: [PATCH] update comments --- core/state_prefetcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state_prefetcher.go b/core/state_prefetcher.go index a6b80d2449..ec4e7bf972 100644 --- a/core/state_prefetcher.go +++ b/core/state_prefetcher.go @@ -36,7 +36,7 @@ type statePrefetcher struct { engine consensus.Engine // Consensus engine used for block rewards } -// newStatePrefetcher initialises a new statePrefetcher. +// NewStatePrefetcher initialises a new statePrefetcher. func NewStatePrefetcher(config *params.ChainConfig, bc *BlockChain, engine consensus.Engine) *statePrefetcher { return &statePrefetcher{ config: config,