fix linter errors
This commit is contained in:
parent
862e9b6079
commit
5649f27d24
5 changed files with 12 additions and 11 deletions
|
|
@ -239,7 +239,7 @@ PlutusTx.makeIsDataIndexed
|
|||
]
|
||||
|
||||
-- | Parameters that identify the Proposal validator script.
|
||||
data Proposal = Proposal
|
||||
newtype Proposal = Proposal
|
||||
{ governorSTAssetClass :: AssetClass
|
||||
}
|
||||
deriving stock (Show, Eq)
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ infixr 6 .&
|
|||
(a :: [PLabeledType])
|
||||
(b :: [PLabeledType])
|
||||
(c :: [PLabeledType]).
|
||||
(RecordMorphism s b c) ->
|
||||
(RecordMorphism s a b) ->
|
||||
(RecordMorphism s a c)
|
||||
RecordMorphism s b c ->
|
||||
RecordMorphism s a b ->
|
||||
RecordMorphism s a c
|
||||
(.&) = (.)
|
||||
|
|
|
|||
|
|
@ -415,7 +415,8 @@ ptokenSpent =
|
|||
plam $ \tokenClass inputs ->
|
||||
0
|
||||
#< pfoldr @PBuiltinList
|
||||
# ( plam $ \txInInfo' acc -> P.do
|
||||
# plam
|
||||
( \txInInfo' acc -> P.do
|
||||
PTxInInfo txInInfo <- pmatch (pfromData txInInfo')
|
||||
PTxOut txOut' <- pmatch $ pfromData $ pfield @"resolved" # txInInfo
|
||||
txOut <- pletFields @'["value"] txOut'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue