Skip to content

Commit

Permalink
fix example error
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroProofs committed May 3, 2024
1 parent 0e724fb commit 006be74
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/gift_card/aiken.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ requirements = []
source = "github"

[etags]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1696594381, nanos_since_epoch = 842483000 }, "a721cf2738274f806efefb5a33c6ff9ae049476f0d45a42049b71793949f4d1d"]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1714410806, nanos_since_epoch = 706482000 }, "2a710731e0127ec3e21c6c3962a0254c98602e7428b33fc4fcaa67ab368ce1b1"]
4 changes: 2 additions & 2 deletions examples/gift_card/validators/multi.ak
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use aiken/builtin
use aiken/bytearray
use aiken/cbor
use aiken/dict
use aiken/hash.{blake2b_256}
use aiken/list
Expand Down Expand Up @@ -66,7 +66,7 @@ validator(creator: ByteArray) {
Mint(total) -> {
expect [input, ..] = inputs
// Base is created from serializing a utxo ref being spent. Thus this guarantees a unique base
let base = cbor.serialise(input.output_reference)
let base = builtin.serialise_data(input.output_reference)
// Create a list of expected token names
let expected_minted_token_names =
create_expected_minted_nfts(base, total, [])
Expand Down
2 changes: 1 addition & 1 deletion examples/hello_world/aiken.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ requirements = []
source = "github"

[etags]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1696594311, nanos_since_epoch = 857119000 }, "a721cf2738274f806efefb5a33c6ff9ae049476f0d45a42049b71793949f4d1d"]
"aiken-lang/stdlib@main" = [{ secs_since_epoch = 1714410781, nanos_since_epoch = 118482000 }, "2a710731e0127ec3e21c6c3962a0254c98602e7428b33fc4fcaa67ab368ce1b1"]

0 comments on commit 006be74

Please sign in to comment.