pub fn add_successfull_execution(&mut self, tx_hash: H256, confirmations: u64) {
        self.block_number += confirmations;

        let status = ExecutedTxStatus {
            confirmations,
            success: true,
            receipt: None,
        };
        self.tx_statuses.borrow_mut().insert(tx_hash, status);
    }
/// Increments the blocks by a provided `confirmations` and marks the sent transaction
/// as a success.
Increments the blocks by a provided `confirmations` and marks the sent transaction
as a success.
Increments the blocks by a provided ` confirmations ` and marks the sent transaction as a success .
pub fn add_successfull_execution(&mut self, tx_hash: H256, confirmations: u64) {
        self.block_number += confirmations;
        let status = ExecutedTxStatus {
            confirmations,
            success: true,
            receipt: None,
        };
        self.tx_statuses.borrow_mut().insert(tx_hash, status);
    }
pub fn add_successfull_execution ( & mut self , tx_hash : H256 , confirmations : u64 ) { self . block_number += confirmations ; let status = ExecutedTxStatus { confirmations , success : true , receipt : None , } ; self . tx_statuses . borrow_mut ( ) . insert ( tx_hash , status ) ; }
Increments the blocks by a provided `confirmations` and marks the sent transaction
as a success.
Increments the blocks by a provided ` confirmations ` and marks the sent transaction as a success .
&mut self
tx_hash
H256
confirmations
u64