Skip to content

Commit 34a61a4

Browse files
committed
Review and cleanup
1 parent cf6229d commit 34a61a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

magicblock-committor-service/src/intent_executor/task_info_fetcher.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,16 +301,16 @@ pub struct NullTaskInfoFetcher;
301301
impl TaskInfoFetcher for NullTaskInfoFetcher {
302302
async fn fetch_next_commit_ids(
303303
&self,
304-
pubkeys: &[Pubkey],
304+
_pubkeys: &[Pubkey],
305305
) -> TaskInfoFetcherResult<HashMap<Pubkey, u64>> {
306-
Ok(pubkeys.iter().map(|pubkey| (*pubkey, 0)).collect())
306+
Ok(Default::default())
307307
}
308308

309309
async fn fetch_rent_reimbursements(
310310
&self,
311-
pubkeys: &[Pubkey],
311+
_pubkeys: &[Pubkey],
312312
) -> TaskInfoFetcherResult<Vec<Pubkey>> {
313-
Ok(pubkeys.to_vec())
313+
Ok(Default::default())
314314
}
315315

316316
fn peek_commit_id(&self, _pubkey: &Pubkey) -> Option<u64> {

0 commit comments

Comments
 (0)