From 7b42cf9c52c94b6b961b6ba36f5af53d77c9c352 Mon Sep 17 00:00:00 2001 From: Aditya Vyas Date: Thu, 12 Dec 2024 20:07:09 +0530 Subject: [PATCH] Fix golang ci --- cmd/stellar-rpc/internal/methods/get_latest_ledger.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/stellar-rpc/internal/methods/get_latest_ledger.go b/cmd/stellar-rpc/internal/methods/get_latest_ledger.go index 45fc93ac..1aabe4f7 100644 --- a/cmd/stellar-rpc/internal/methods/get_latest_ledger.go +++ b/cmd/stellar-rpc/internal/methods/get_latest_ledger.go @@ -25,7 +25,9 @@ type latestLedgerHandler struct { ledgerReader db.LedgerReader } -func (h latestLedgerHandler) getLatestLedger(ctx context.Context, request GetLatestLedgerRequest) (GetLatestLedgerResponse, error) { +func (h latestLedgerHandler) getLatestLedger(ctx context.Context, + request GetLatestLedgerRequest, +) (GetLatestLedgerResponse, error) { latestSequence, err := h.ledgerEntryReader.GetLatestLedgerSequence(ctx) if err != nil { return GetLatestLedgerResponse{}, &jrpc2.Error{