From 26c364122169da80db10645a7ae4b4598751e0cd Mon Sep 17 00:00:00 2001 From: jianghuyiyuan Date: Mon, 23 Jun 2025 16:22:31 +0800 Subject: [PATCH] chore: make function comment match function name Signed-off-by: jianghuyiyuan --- internal/input/assets_history_archive.go | 2 +- internal/input/ledgers_history_archive.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/input/assets_history_archive.go b/internal/input/assets_history_archive.go index a72a1c65..cab41740 100644 --- a/internal/input/assets_history_archive.go +++ b/internal/input/assets_history_archive.go @@ -9,7 +9,7 @@ import ( "github.com/stellar/go/xdr" ) -// GetPaymentOperations returns a slice of payment operations that can include new assets from the ledgers in the provided range (inclusive on both ends) +// GetPaymentOperationsHistoryArchive returns a slice of payment operations that can include new assets from the ledgers in the provided range (inclusive on both ends) func GetPaymentOperationsHistoryArchive(start, end uint32, limit int64, env utils.EnvironmentDetails, useCaptivere bool) ([]AssetTransformInput, error) { backend, err := utils.CreateBackend(start, end, env.ArchiveURLs) if err != nil { diff --git a/internal/input/ledgers_history_archive.go b/internal/input/ledgers_history_archive.go index 5b42ba5c..6d20a826 100644 --- a/internal/input/ledgers_history_archive.go +++ b/internal/input/ledgers_history_archive.go @@ -6,7 +6,7 @@ import ( "github.com/stellar/stellar-etl/internal/utils" ) -// GetLedgers returns a slice of ledger close metas for the ledgers in the provided range (inclusive on both ends) +// GetLedgersHistoryArchive returns a slice of ledger close metas for the ledgers in the provided range (inclusive on both ends) func GetLedgersHistoryArchive(start, end uint32, limit int64, env utils.EnvironmentDetails, useCaptiveCore bool) ([]utils.HistoryArchiveLedgerAndLCM, error) { backend, err := utils.CreateBackend(start, end, env.ArchiveURLs) if err != nil {