diff --git a/examples/gift_card/validators/oneshot.ak b/examples/gift_card/validators/oneshot.ak index 6c3e5278..7b9f0474 100644 --- a/examples/gift_card/validators/oneshot.ak +++ b/examples/gift_card/validators/oneshot.ak @@ -21,6 +21,7 @@ validator(token_name: ByteArray, utxo_ref: OutputReference) { expect [(asset_name, amount)] = mint + |> from_minted_value |> value.tokens(policy_id) |> dict.to_list() @@ -46,6 +47,7 @@ validator(token_name: ByteArray, policy_id: ByteArray) { expect [(asset_name, amount)] = mint + |> from_minted_value |> value.tokens(policy_id) |> dict.to_list()