mirror of
https://github.com/FiloSpaTeam/plutus-pioneer-program.git
synced 2024-11-22 06:42: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 $
|
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
|
||||||
|
|
Loading…
Reference in a new issue