From 604578ea25992863716c3bc850dcc1b2a45a0a43 Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Tue, 1 Oct 2024 19:37:44 +0300 Subject: [PATCH] docs: remove wrong todo --- .../pool_withdrawals_into_transactions_queue/v1/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/rs-drive-abci/src/execution/platform_events/withdrawals/pool_withdrawals_into_transactions_queue/v1/mod.rs b/packages/rs-drive-abci/src/execution/platform_events/withdrawals/pool_withdrawals_into_transactions_queue/v1/mod.rs index 5755d070e97..b0b0f99e658 100644 --- a/packages/rs-drive-abci/src/execution/platform_events/withdrawals/pool_withdrawals_into_transactions_queue/v1/mod.rs +++ b/packages/rs-drive-abci/src/execution/platform_events/withdrawals/pool_withdrawals_into_transactions_queue/v1/mod.rs @@ -32,10 +32,6 @@ where transaction: TransactionArg, platform_version: &PlatformVersion, ) -> Result<(), Error> { - // TODO: It will be more efficient to query documents less than the current limit - // in this case we won't fetch documents if we aren't going to process and - // documents with big amounts created earlier won't block processing of withdrawals with smaller - // amounts (more precise limiting) let documents = self.drive.fetch_oldest_withdrawal_documents_by_status( withdrawals_contract::WithdrawalStatus::QUEUED.into(), platform_version