Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Add comment for future posterity
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Feb 7, 2023
1 parent 860e48d commit db26aed
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2855,6 +2855,11 @@ impl Blockstore {
result.insert(lookup.account_key);
});
}
// howdy, anybody who reached here from the panic messsage!
// the .unwrap() below could indicate there was an odd error or there
// could simply be a tx with a new alt, which is just created in this
// range. too bad... this edge case isn't currently supported.
// for casual use, please chose different slot range.
let sanitized_tx = bank.fully_verify_transaction(tx).unwrap();
sanitized_tx
.message()
Expand Down

0 comments on commit db26aed

Please sign in to comment.