From 55ee4ee8b7d8c3ede0a277a4ccb9742f2fc335bd Mon Sep 17 00:00:00 2001 From: kleonyuan Date: Sun, 18 Oct 2026 08:27:39 +0800 Subject: [PATCH] chore: fix grammar in pending cache comments "temporary" is an adjective; both comments need the adverb "temporarily". Introduced together in #2985. Signed-off-by: kleonyuan --- block/internal/cache/pending_data.go | 2 +- block/internal/cache/pending_headers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/block/internal/cache/pending_data.go b/block/internal/cache/pending_data.go index b31334a416..b29b9f0490 100644 --- a/block/internal/cache/pending_data.go +++ b/block/internal/cache/pending_data.go @@ -37,7 +37,7 @@ func fetchData(ctx context.Context, store store.Store, height uint64) (*types.Da if err != nil { return nil, err } - // in the executor, WIP data is temporary stored. skip them until the process is completed + // in the executor, WIP data is temporarily stored. skip them until the process is completed if data.Height() == 0 { return nil, errInFlightData } diff --git a/block/internal/cache/pending_headers.go b/block/internal/cache/pending_headers.go index d12f9627af..d5e570c118 100644 --- a/block/internal/cache/pending_headers.go +++ b/block/internal/cache/pending_headers.go @@ -33,7 +33,7 @@ func fetchSignedHeader(ctx context.Context, store storepkg.Store, height uint64) if err != nil { return nil, err } - // in the executor, WIP headers are temporary stored. skip them until the process is completed + // in the executor, WIP headers are temporarily stored. skip them until the process is completed if header.Height() == 0 { return nil, errInFlightHeader }