Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gostkin committed Nov 27, 2023
1 parent b74a937 commit 3aef4b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions indexer/tasks/src/multiera/multiera_projected_nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,16 +139,14 @@ 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)) {
if projected_nft.operation != i32::from(ProjectedNftOperation::Unlocking) {
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()),
Expand Down

0 comments on commit 3aef4b3

Please sign in to comment.