From 8decf6aa4327e174a2816360666967d806b8f6be Mon Sep 17 00:00:00 2001 From: rjl493456442 Date: Mon, 26 Aug 2024 20:21:46 +0800 Subject: [PATCH] Update trie_prefetcher.go --- core/state/trie_prefetcher.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/state/trie_prefetcher.go b/core/state/trie_prefetcher.go index 0e44f00a03..29dfdf04fa 100644 --- a/core/state/trie_prefetcher.go +++ b/core/state/trie_prefetcher.go @@ -330,7 +330,8 @@ func (sf *subfetcher) terminate(async bool) { // openTrie resolves the target trie from database for prefetching. func (sf *subfetcher) openTrie() error { - // Open the verkle tree if the sub-fetcher is in verkle mode + // Open the verkle tree if the sub-fetcher is in verkle mode. Note, there is + // only a single fetcher for verkle. if sf.db.TrieDB().IsVerkle() { tr, err := sf.db.OpenTrie(sf.state) if err != nil {