Fix var in example
This commit is contained in:
parent
4957d01e9e
commit
d793660545
@ -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)
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user