From 817e94603b3af1aa58f41817e3e6533cd08666bc Mon Sep 17 00:00:00 2001 From: Christian Rinderknecht Date: Sun, 23 Feb 2020 07:30:41 +0100 Subject: [PATCH] Syncronised the *.ligo files of the tutorial with the contents of the tutorial. --- .../docs/tutorials/get-started/tezos-taco-shop-payout.ligo | 2 +- .../tutorials/get-started/tezos-taco-shop-smart-contract.ligo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-payout.ligo b/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-payout.ligo index eaf9dde48..9cf169397 100644 --- a/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-payout.ligo +++ b/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-payout.ligo @@ -11,7 +11,7 @@ type return is list (operation) * taco_shop_storage const ownerAddress : address = "tz1TGu6TN5GSez2ndXXeDX6LgUDvLzPLqgYV" const donationAddress : address = "tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" -function main (const taco_kind_index : nat; var taco_shop_storage : taco_shop_storage) : return is +function buy_taco (const taco_kind_index : nat; var taco_shop_storage : taco_shop_storage) : return is block { // Retrieve the taco_kind from the contract's storage or fail const taco_kind : taco_supply = diff --git a/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-smart-contract.ligo b/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-smart-contract.ligo index 09710bec3..8871a9c87 100644 --- a/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-smart-contract.ligo +++ b/gitlab-pages/docs/tutorials/get-started/tezos-taco-shop-smart-contract.ligo @@ -8,7 +8,7 @@ type taco_shop_storage is map (nat, taco_supply) type return is list (operation) * taco_shop_storage -function main (const taco_kind_index : nat ; var taco_shop_storage : taco_shop_storage) : return is +function buy_taco (const taco_kind_index : nat ; var taco_shop_storage : taco_shop_storage) : return is block { // Retrieve the taco_kind from the contract's storage or fail const taco_kind : taco_supply =