Skip to content

Commit

Permalink
Fix golang ci
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed Dec 12, 2024
1 parent 9cc175a commit 7b42cf9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/stellar-rpc/internal/methods/get_latest_ledger.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 7b42cf9

Please sign in to comment.