Skip to content

Commit

Permalink
Expand on comment
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Feb 7, 2022
1 parent ce41194 commit 1c6beaa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rust/src/witness_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ pub struct TransactionWitnessSetBuilder {
plutus_data: HashMap<DataHash, PlutusData>,
redeemers: HashMap<RedeemerWitnessKey, Redeemer>,

// witnesses that need to be added for the build function to succeed
/// witnesses that need to be added for the build function to succeed
/// this allows checking that witnesses are present at build time (instead of when submitting to a node)
/// This is useful for APIs that can keep track of which witnesses will be required (like transaction builders)
required_wits: RequiredWitnessSet,
}

Expand Down

0 comments on commit 1c6beaa

Please sign in to comment.