From 1f4b5d8dbaaa6ea48670dc0a94fb314f22a59f04 Mon Sep 17 00:00:00 2001 From: Dmytro Kozhevin Date: Wed, 6 Mar 2024 14:28:00 -0500 Subject: [PATCH] Update cmd/soroban-rpc/lib/preflight/src/lib.rs Co-authored-by: Alfonso Acosta --- cmd/soroban-rpc/lib/preflight/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/soroban-rpc/lib/preflight/src/lib.rs b/cmd/soroban-rpc/lib/preflight/src/lib.rs index 1beef0c9..fd80b018 100644 --- a/cmd/soroban-rpc/lib/preflight/src/lib.rs +++ b/cmd/soroban-rpc/lib/preflight/src/lib.rs @@ -518,8 +518,8 @@ impl GoLedgerStorage { } // Gets a ledger entry by key, including the archived/removed entries. - // The failures of this function are not recoverable and should only happen in case - // if the underlying storage is somehow corrupted. + // The failures of this function are not recoverable and should only happen when + // the underlying storage is somehow corrupted. fn get_fallible(&self, key: &LedgerKey) -> anyhow::Result> { let mut key_xdr = key.to_xdr(DEFAULT_XDR_RW_LIMITS)?; let Some(xdr) = self.get_xdr_internal(&mut key_xdr) else {