small update

This commit is contained in:
Lars Brünjes 2021-07-24 19:27:23 +02:00
parent e19af4cd80
commit c74fb6fefa
No known key found for this signature in database
GPG key ID: B488B9045DC1A087

View file

@ -40,7 +40,7 @@ policy :: PubKeyHash -> Scripts.MintingPolicy
policy pkh = mkMintingPolicyScript $ policy pkh = mkMintingPolicyScript $
$$(PlutusTx.compile [|| Scripts.wrapMintingPolicy . mkPolicy ||]) $$(PlutusTx.compile [|| Scripts.wrapMintingPolicy . mkPolicy ||])
`PlutusTx.applyCode` `PlutusTx.applyCode`
PlutusTx.liftCode pkh (PlutusTx.liftCode pkh)
curSymbol :: PubKeyHash -> CurrencySymbol curSymbol :: PubKeyHash -> CurrencySymbol
curSymbol = scriptCurrencySymbol . policy curSymbol = scriptCurrencySymbol . policy