From 9498a680d3334eb750bfe29fc3b4b7f5a9d5da69 Mon Sep 17 00:00:00 2001 From: Aditya Vyas Date: Mon, 30 Sep 2024 10:01:59 -0400 Subject: [PATCH] Update cmd/soroban-rpc/internal/methods/get_ledgers.go Co-authored-by: George --- 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 0966bb44..2e7d54be 100644 --- a/cmd/soroban-rpc/internal/methods/get_ledgers.go +++ b/cmd/soroban-rpc/internal/methods/get_ledgers.go @@ -118,7 +118,7 @@ func (h ledgersHandler) getLedgers(ctx context.Context, request GetLedgersReques if err != nil { return GetLedgersResponse{}, err } - cursor := strconv.FormatUint(uint64(ledgers[len(ledgers)-1].Sequence), 10) + cursor := fmt.Sprintf("%d", ledgers[len(ledgers)-1].Sequence) return GetLedgersResponse{ Ledgers: ledgers,