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
|
entrypoint get() = state
|
||||||
|
|
||||||
main contract IntHolderFactory =
|
main contract IntHolderFactory =
|
||||||
entrypoint new(x : int) : IntHolder =
|
stateful entrypoint new(x : int) : IntHolder =
|
||||||
let ih = Chain.create(x) : IntHolder
|
let ih = Chain.create(x) : IntHolder
|
||||||
ih
|
ih
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user