From cda207172a1902c668a9faa5ad3f647761b49aa2 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Fri, 10 May 2024 12:12:20 +0200 Subject: [PATCH] Surface ignored error in getRawLedgerEntries() --- cmd/soroban-rpc/internal/db/ledgerentry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/soroban-rpc/internal/db/ledgerentry.go b/cmd/soroban-rpc/internal/db/ledgerentry.go index 1553ecf5..8286e955 100644 --- a/cmd/soroban-rpc/internal/db/ledgerentry.go +++ b/cmd/soroban-rpc/internal/db/ledgerentry.go @@ -215,7 +215,7 @@ func (l *ledgerEntryReadTx) getRawLedgerEntries(keys ...string) (map[string]stri } } } - return result, nil + return result, q.Err() } func GetLedgerEntry(tx LedgerEntryReadTx, key xdr.LedgerKey) (bool, xdr.LedgerEntry, *uint32, error) {