From f9ca357c1e1533652f5bbbd554d63f31f2f596ae Mon Sep 17 00:00:00 2001 From: Amin Moghaddam Date: Mon, 5 Feb 2024 10:05:13 +0100 Subject: [PATCH] Remove TODO --- auction-server/src/auction.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/auction-server/src/auction.rs b/auction-server/src/auction.rs index e2b5664f..1a601a89 100644 --- a/auction-server/src/auction.rs +++ b/auction-server/src/auction.rs @@ -231,12 +231,6 @@ pub async fn run_submission_loop(store: Arc) { Some(receipt) => { tracing::debug!("Submitted transaction: {:?}", receipt); chain_store.bids.write().await.remove(&permission_key); - store - .liquidation_store - .opportunities - .write() - .await - .remove(&permission_key); //TODO: this should be done via opportunity verifier and only when the opportunity is not valid anymore } None => { tracing::error!("Failed to receive transaction receipt");