Fix tutorial error.
This commit is contained in:
parent
5eada8c5e4
commit
75735cd6ed
@ -169,7 +169,7 @@ function buy_taco (const taco_kind_index : nat ; var taco_shop_storage : taco_sh
|
|||||||
const receiver : contract(unit) = get_contract (ownerAddress);
|
const receiver : contract(unit) = get_contract (ownerAddress);
|
||||||
const payoutOperation : operation = transaction (unit, amount, receiver);
|
const payoutOperation : operation = transaction (unit, amount, receiver);
|
||||||
const operations : list(operation) = list [payoutOperation]
|
const operations : list(operation) = list [payoutOperation]
|
||||||
} with ((nil : list (operation)), taco_shop_storage)
|
} with ((operations : list (operation)), taco_shop_storage)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Dry-run the Contract
|
### Dry-run the Contract
|
||||||
|
Loading…
Reference in New Issue
Block a user