Skip to content

Commit

Permalink
remove redundant check
Browse files Browse the repository at this point in the history
check for payment part of output address is already done
  • Loading branch information
francolq authored Feb 27, 2024
1 parent f45b9c9 commit ac09563
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion validators/pool.ak
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ validator(settings_policy_id: PolicyId) {
// that worked with the void datum, and paid to the real treasury with the correct datum.
// TODO: should we just let the treasury admin specify the datum on the redeemer? Or include it in the settings?
expect treasury_output.datum == InlineDatum(Void)
expect pool_output.address.payment_credential == pool_input.address.payment_credential
expect list.any(settings_datum.authorized_staking_keys, fn(a) {
pool_output.address.stake_credential == Some(Inline(a))
})
Expand Down

0 comments on commit ac09563

Please sign in to comment.