Merge pull request #320 from aeternity/nikita-fuchs-patch-1

fix child contract deployment example
This commit is contained in:
Hans Svensson 2021-06-22 14:52:36 +02:00 committed by GitHub
commit 78d94786b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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