From 526b53481686de4b39d6bfff88f4a7d5abc65c46 Mon Sep 17 00:00:00 2001 From: Aditya Vyas Date: Tue, 5 Nov 2024 12:11:59 -0500 Subject: [PATCH] Update cmd/soroban-rpc/internal/methods/get_ledgers.go Co-authored-by: Alfonso Acosta --- cmd/soroban-rpc/internal/methods/get_ledgers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-rpc/internal/methods/get_ledgers.go b/cmd/soroban-rpc/internal/methods/get_ledgers.go index 98055773..68ed52bd 100644 --- a/cmd/soroban-rpc/internal/methods/get_ledgers.go +++ b/cmd/soroban-rpc/internal/methods/get_ledgers.go @@ -134,7 +134,7 @@ func (h ledgersHandler) getLedgers(ctx context.Context, request GetLedgersReques }, nil } -// initializePagination parses the request pagination details initializes the cursor. +// initializePagination parses the request pagination details and initializes the cursor. func (h ledgersHandler) initializePagination(request GetLedgersRequest, ledgerRange ledgerbucketwindow.LedgerRange, ) (uint32, uint, error) {