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

        let status = ExecutedTxStatus {
            confirmations,
            success: false,
            receipt: Some(Default::default()),
        };
        self.tx_statuses.borrow_mut().insert(*hash, status);
    }
/// Same as `add_successfull_execution`, but marks the transaction as a failure.
Same as `add_successfull_execution`, but marks the transaction as a failure.
Same as ` add_successfull_execution ` but marks the transaction as a failure .
pub fn add_failed_execution(&mut self, hash: &H256, confirmations: u64) {
        self.block_number += confirmations;
        let status = ExecutedTxStatus {
            confirmations,
            success: false,
            receipt: Some(Default::default()),
        };
        self.tx_statuses.borrow_mut().insert(*hash, status);
    }
pub fn add_failed_execution ( & mut self , hash : & H256 , confirmations : u64 ) { self . block_number += confirmations ; let status = ExecutedTxStatus { confirmations , success : false , receipt : Some ( Default :: default ( ) ) , } ; self . tx_statuses . borrow_mut ( ) . insert ( * hash , status ) ; }
Same as `add_successfull_execution`, but marks the transaction as a failure.
Same as ` add_successfull_execution ` but marks the transaction as a failure .
&mut self
hash
&H256
confirmations
u64