Skip to content

Commit

Permalink
Add missing Plutus v3 witness indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Mar 31, 2024
1 parent 524af24 commit 012b42f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions indexer/tasks/src/multiera/multiera_stake_credentials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,13 @@ fn queue_witness(
);
}
}
if let Some(scripts) = &witness_set.plutus_v3_scripts {
for script in scripts {
vkey_relation_map.add_relation(
tx_id,
script.hash().to_raw_bytes(),
TxCredentialRelationValue::Witness,
);
}
}
}

0 comments on commit 012b42f

Please sign in to comment.