From d1a8fe52209c9aca2462acb6393a2ace9090e91c Mon Sep 17 00:00:00 2001 From: luangucun Date: Thu, 15 Oct 2026 17:55:22 +0800 Subject: [PATCH] docs: correct Data and FilterPostpone comments Signed-off-by: luangucun --- core/execution/execution.go | 2 +- types/data.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/execution/execution.go b/core/execution/execution.go index 5ad08289a4..9bda9dafe2 100644 --- a/core/execution/execution.go +++ b/core/execution/execution.go @@ -123,7 +123,7 @@ const ( FilterOK FilterStatus = iota // FilterRemove is the result of a transaction that will be filtered out because invalid (too big, malformed, etc.) FilterRemove - // FilterPostpone is the result of a transaction that is valid but postponed for later processing due to size constraint + // FilterPostpone is the result of a valid transaction postponed because it would exceed a size or gas limit. FilterPostpone ) diff --git a/types/data.go b/types/data.go index 804915ab6b..30a6fe8b57 100644 --- a/types/data.go +++ b/types/data.go @@ -80,7 +80,7 @@ func Validate(header *SignedHeader, data *Data) error { return nil } -// New returns a new Block. +// New returns a new Data. func (d *Data) New() *Data { return new(Data) }