Fix var in example

This commit is contained in:
Frank Feng 2021-07-24 16:46:13 +08:00
parent 4957d01e9e
commit d793660545

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)
```