Merge pull request #329 from callbay/fix_var_in_example
Fix var in example
This commit is contained in:
commit
b20b9c5df5
@ -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