mirror of
https://github.com/FiloSpaTeam/plutus-pioneer-program.git
synced 2024-11-22 06:42:00 +01:00
fixed typo
This commit is contained in:
parent
d4270489d0
commit
215e032e0e
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ mint mp = do
|
||||||
else do
|
else do
|
||||||
let val = Value.singleton (curSymbol pkh deadline) (mpTokenName mp) (mpAmount mp)
|
let val = Value.singleton (curSymbol pkh deadline) (mpTokenName mp) (mpAmount mp)
|
||||||
lookups = Constraints.mintingPolicy $ policy pkh deadline
|
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
|
ledgerTx <- submitTxConstraintsWith @Void lookups tx
|
||||||
void $ awaitTxConfirmed $ txId ledgerTx
|
void $ awaitTxConfirmed $ txId ledgerTx
|
||||||
Contract.logInfo @String $ printf "forged %s" (show val)
|
Contract.logInfo @String $ printf "forged %s" (show val)
|
||||||
|
|
Loading…
Reference in a new issue