We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bd8f65 commit ec36ee6Copy full SHA for ec36ee6
cardano/onchain/validators/minting_voucher.ak
@@ -80,9 +80,11 @@ validator mint_voucher(module_token: AuthToken) {
80
fn(output) {
81
and {
82
output.address == receiver_address,
83
- output.value
84
- |> assets.without_lovelace
85
- |> assets.policies == [voucher_minting_policy_id],
+ (
+ output.value
+ |> assets.without_lovelace
86
+ |> assets.policies
87
+ ) == [voucher_minting_policy_id],
88
}
89
},
90
)
0 commit comments