Skip to content

Commit

Permalink
chore:(utils.ak): remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HarunJr committed Oct 28, 2024
1 parent 220df73 commit 27488b4
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions lib/upgradable-multisig/multisig/utils.ak
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,3 @@ pub fn signed_within_threshold(
) -> Bool {
has_enough_signers(datum.signers, datum.threshold, extra_signatories)
}
// pub fn signed_within_threshold(
// datum: MultisigDatum,
// extra_signatories: List<PubKeyHash>,
// ) -> Bool {
// let signer_count_length =
// list.foldr(
// extra_signatories,
// 0,
// fn(current_signer, accumulator) -> Int {
// if list.has(datum.signers, current_signer) {
// accumulator + 1
// } else {
// accumulator
// }
// },
// )

// and {
// signer_count_length >= datum.threshold,
// True,
// }
// }

0 comments on commit 27488b4

Please sign in to comment.