Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions minter/src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,14 @@ impl State {
new_signature: &Signature,
new_slot: Slot,
) {
// Handle event logs from before ExpiredTransaction was introduced:
// if the old transaction is still in submitted_transactions (no preceding
// ExpiredTransaction event in the log), move it to transactions_to_resubmit first.
if !self.transactions_to_resubmit.contains_key(old_signature)
&& self.submitted_transactions.contains_key(old_signature)
{
self.process_transaction_expired(old_signature);
}
Comment thread
lpahlavi marked this conversation as resolved.
Comment thread
lpahlavi marked this conversation as resolved.
let old_transaction = self
.transactions_to_resubmit
.remove(old_signature)
Expand Down
Loading