From d088562b6b4729f5d9cf9eec71df73558763670e Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Fri, 10 May 2024 12:30:18 +0200 Subject: [PATCH] Surface ignored error in getRawLedgerEntries() (#170) --- 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) {