mirror of
https://github.com/FiloSpaTeam/plutus-pioneer-program.git
synced 2024-11-21 22:32:00 +01:00
small update
This commit is contained in:
parent
e19af4cd80
commit
c74fb6fefa
1 changed files with 18 additions and 18 deletions
|
@ -40,7 +40,7 @@ policy :: PubKeyHash -> Scripts.MintingPolicy
|
|||
policy pkh = mkMintingPolicyScript $
|
||||
$$(PlutusTx.compile [|| Scripts.wrapMintingPolicy . mkPolicy ||])
|
||||
`PlutusTx.applyCode`
|
||||
PlutusTx.liftCode pkh
|
||||
(PlutusTx.liftCode pkh)
|
||||
|
||||
curSymbol :: PubKeyHash -> CurrencySymbol
|
||||
curSymbol = scriptCurrencySymbol . policy
|
||||
|
|
Loading…
Reference in a new issue