diff --git a/templates/skeleton/daml/Main.daml b/templates/skeleton/daml/Main.daml index be9eda12af20..38abfd2647c9 100644 --- a/templates/skeleton/daml/Main.daml +++ b/templates/skeleton/daml/Main.daml @@ -18,6 +18,7 @@ template Asset create this with owner = newOwner +setup : Scenario AssetId setup = scenario do alice <- getParty "Alice" bob <- getParty "Bob" diff --git a/templates/skeleton/daml/Setup.daml b/templates/skeleton/daml/Setup.daml index 4ec7f0927d2f..70b564ed5ba9 100644 --- a/templates/skeleton/daml/Setup.daml +++ b/templates/skeleton/daml/Setup.daml @@ -18,7 +18,7 @@ initialize = do bobTV <- submit alice do exerciseCmd aliceTV Give with newOwner = bob - submit bob do + _ <- submit bob do exerciseCmd bobTV Give with newOwner = alice pure ()