Skip to content

Commit

Permalink
Update cmd/soroban-rpc/lib/preflight/src/lib.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alfonso Acosta <[email protected]>
  • Loading branch information
dmkozh and 2opremio authored Mar 6, 2024
1 parent 93956ee commit 1f4b5d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/soroban-rpc/lib/preflight/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Option<EntryWithLiveUntil>> {
let mut key_xdr = key.to_xdr(DEFAULT_XDR_RW_LIMITS)?;
let Some(xdr) = self.get_xdr_internal(&mut key_xdr) else {
Expand Down

0 comments on commit 1f4b5d8

Please sign in to comment.