From 3aef4b3db91934c44baa405ce2a22f6b715877a6 Mon Sep 17 00:00:00 2001 From: Eugene Gostkin Date: Mon, 27 Nov 2023 18:35:12 +0100 Subject: [PATCH] Fix --- indexer/tasks/src/multiera/multiera_projected_nft.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/indexer/tasks/src/multiera/multiera_projected_nft.rs b/indexer/tasks/src/multiera/multiera_projected_nft.rs index e3af6a26..49605799 100644 --- a/indexer/tasks/src/multiera/multiera_projected_nft.rs +++ b/indexer/tasks/src/multiera/multiera_projected_nft.rs @@ -139,8 +139,6 @@ async fn handle_projected_nft( outputs_map.insert(output_model.output_index, output_model.clone()); } - let mut claimed_projected_nft_assets = vec![]; - for input in tx_body.inputs().iter() { if let Some(entry) = used_projected_nfts.get(&input.hash().to_vec()) { if let Some(projected_nft) = entry.get(&(input.index() as i64)) { @@ -148,7 +146,7 @@ async fn handle_projected_nft( continue; } - claimed_projected_nft_assets.push(entity::projected_nft::ActiveModel { + queued_projected_nft_records.push(entity::projected_nft::ActiveModel { utxo_id: Set(None), tx_id: Set(cardano_transaction.id), asset: Set(projected_nft.asset.clone()),