pub async fn mine_completed_transaction(&self, tx_id: TxId) -> Result<(), TransactionStorageError> {
        let db_clone = self.db.clone();

        tokio::task::spawn_blocking(move || db_clone.mine_completed_transaction(tx_id))
            .await
            .map_err(|err| TransactionStorageError::BlockingTaskSpawnError(err.to_string()))
            .and_then(|inner_result| inner_result)
    }
/// Indicated that the specified completed transaction has been detected as mined on the base layer
Indicated that the specified completed transaction has been detected as mined on the base layer
Indicated that the specified completed transaction has been detected as mined on the base layer
pub async fn mine_completed_transaction(&self, tx_id: TxId) -> Result<(), TransactionStorageError> {
        let db_clone = self.db.clone();
        tokio::task::spawn_blocking(move || db_clone.mine_completed_transaction(tx_id))
            .await
            .map_err(|err| TransactionStorageError::BlockingTaskSpawnError(err.to_string()))
            .and_then(|inner_result| inner_result)
    }
pub async fn mine_completed_transaction ( & self , tx_id : TxId ) -> Result < ( ) , TransactionStorageError > { let db_clone = self . db . clone ( ) ; tokio :: task :: spawn_blocking ( move | | db_clone . mine_completed_transaction ( tx_id ) ) . await . map_err ( | err | TransactionStorageError :: BlockingTaskSpawnError ( err . to_string ( ) ) ) . and_then ( | inner_result | inner_result ) }
Indicated that the specified completed transaction has been detected as mined on the base layer
Indicated that the specified completed transaction has been detected as mined on the base layer
&self
tx_id
TxId
&self
tx_id
TxId