pub fn assert_stored(&self, tx: &ETHOperation) {
        assert_eq!(self.unconfirmed_operations.borrow().get(&tx.id), Some(tx));

        assert!(self.confirmed_operations.borrow().get(&tx.id).is_none());
    }
/// Ensures that the provided transaction is stored in the database and not confirmed yet.
Ensures that the provided transaction is stored in the database and not confirmed yet.
Ensures that the provided transaction is stored in the database and not confirmed yet .
pub fn assert_stored(&self, tx: &ETHOperation) {
        assert_eq!(self.unconfirmed_operations.borrow().get(&tx.id), Some(tx));
        assert!(self.confirmed_operations.borrow().get(&tx.id).is_none());
    }
pub fn assert_stored ( & self , tx : & ETHOperation ) { assert_eq ! ( self unconfirmed_operations borrow ( ) get ( tx id ) Some ( tx ) ) ; assert ! ( self confirmed_operations borrow ( ) get ( tx id ) is_none ( ) ) ; }
Ensures that the provided transaction is stored in the database and not confirmed yet.
Ensures that the provided transaction is stored in the database and not confirmed yet .
&self
tx
&ETHOperation