Merge pull request #329 from callbay/fix_var_in_example

Fix var in example
This commit is contained in:
Hans Svensson 2021-07-26 12:04:55 +02:00 committed by GitHub
commit b20b9c5df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -829,7 +829,7 @@ main contract Market =
type state = list(Auction)
entrypoint init() = []
stateful entrypoint new(name : string) =
let auction = Chain.create(0, name) : Auction
let new_auction = Chain.create(0, name) : Auction
put(new_auction::state)
```