From 215e032e0e302db8cfbf2d620f37795e5009027b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Br=C3=BCnjes?= Date: Mon, 26 Jul 2021 13:26:42 +0200 Subject: [PATCH] fixed typo --- code/week05/src/Week05/Homework1.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/week05/src/Week05/Homework1.hs b/code/week05/src/Week05/Homework1.hs index 2660b0f..c391be6 100644 --- a/code/week05/src/Week05/Homework1.hs +++ b/code/week05/src/Week05/Homework1.hs @@ -65,7 +65,7 @@ mint mp = do else do let val = Value.singleton (curSymbol pkh deadline) (mpTokenName mp) (mpAmount mp) lookups = Constraints.mintingPolicy $ policy pkh deadline - tx = Constraints.mustMintValue val <> Constraints.mustValidatlIn (to $ now + 5000) + tx = Constraints.mustMintValue val <> Constraints.mustValidateIn (to $ now + 5000) ledgerTx <- submitTxConstraintsWith @Void lookups tx void $ awaitTxConfirmed $ txId ledgerTx Contract.logInfo @String $ printf "forged %s" (show val)