Skip to content

Commit ec36ee6

Browse files
committed
chore: fixed filter
1 parent 6bd8f65 commit ec36ee6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cardano/onchain/validators/minting_voucher.ak

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,11 @@ validator mint_voucher(module_token: AuthToken) {
8080
fn(output) {
8181
and {
8282
output.address == receiver_address,
83-
output.value
84-
|> assets.without_lovelace
85-
|> assets.policies == [voucher_minting_policy_id],
83+
(
84+
output.value
85+
|> assets.without_lovelace
86+
|> assets.policies
87+
) == [voucher_minting_policy_id],
8688
}
8789
},
8890
)

0 commit comments

Comments
 (0)