pub(crate) fn commit_transaction(
        &mut self,
        account: &AccountAddress,
        account_sequence_number: u64,
    ) {
        self.clean_committed_transactions(account, account_sequence_number);
        self.process_ready_transactions(account, account_sequence_number);
    }
/// handles transaction commit
/// it includes deletion of all transactions with sequence number <= `account_sequence_number`
/// and potential promotion of sequential txns to PriorityIndex/TimelineIndex
handles transaction commit
it includes deletion of all transactions with sequence number <= `account_sequence_number`
and potential promotion of sequential txns to PriorityIndex/TimelineIndex
handles transaction commit it includes deletion of all transactions with sequence number < = ` account_sequence_number ` and potential promotion of sequential txns to PriorityIndex / TimelineIndex
pub(crate) fn commit_transaction(
        &mut self,
        account: &AccountAddress,
        account_sequence_number: u64,
    ) {
        self.clean_committed_transactions(account, account_sequence_number);
        self.process_ready_transactions(account, account_sequence_number);
    }
pub ( crate ) fn commit_transaction ( & mut self , account : & AccountAddress , account_sequence_number : u64 , ) { self . clean_committed_transactions ( account , account_sequence_number ) ; self . process_ready_transactions ( account , account_sequence_number ) ; }
handles transaction commit
it includes deletion of all transactions with sequence number <= `account_sequence_number`
and potential promotion of sequential txns to PriorityIndex/TimelineIndex
handles transaction commit it includes deletion of all transactions with sequence number < = ` account_sequence_number ` and potential promotion of sequential txns to PriorityIndex / TimelineIndex
&mut self
account
&AccountAddress
account_sequence_number
u64
&mut self
account
&AccountAddress
account_sequence_number
u64