Merge pull request #320 from aeternity/nikita-fuchs-patch-1
fix child contract deployment example
This commit is contained in:
commit
78d94786b6
@ -194,7 +194,7 @@ contract IntHolder =
|
||||
entrypoint get() = state
|
||||
|
||||
main contract IntHolderFactory =
|
||||
entrypoint new(x : int) : IntHolder =
|
||||
stateful entrypoint new(x : int) : IntHolder =
|
||||
let ih = Chain.create(x) : IntHolder
|
||||
ih
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user