fix child contract deployment example

This commit is contained in:
Nikita Fuchs 2021-06-22 14:47:58 +02:00 committed by GitHub
parent e2af89287d
commit 216f7f8a25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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