Skip to content

Commit

Permalink
hlint
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact committed Aug 16, 2024
1 parent 392910d commit 30601e7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions hydra-plutus-extras/src/Hydra/Plutus/Extras.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ import Cardano.Api.Shelley (PlutusScript (PlutusScriptSerialised))
import PlutusLedgerApi.Common (SerialisedScript)
import PlutusLedgerApi.V1.Value (isZero)
import PlutusLedgerApi.V2 (POSIXTimeRange)
import PlutusLedgerApi.V3 (Address (..), Credential (..), CurrencySymbol, Datum (..), DatumHash, Interval, Map, OutputDatum, PubKeyHash, Redeemer, ScriptHash (..), ScriptInfo (..), TxInInfo, TxOut (..), TxOutRef, Value, getRedeemer)
import PlutusLedgerApi.V3 (Datum (..), DatumHash, Interval, Map, PubKeyHash, Redeemer, ScriptHash (..), ScriptInfo (..), TxInInfo, TxOut (..), Value, getRedeemer)
import PlutusTx (
BuiltinData,
UnsafeFromData (..),
makeIsDataIndexed,
)
import PlutusTx.AssocMap (lookup)
import PlutusTx.Prelude (BuiltinUnit, check, toBuiltin, traceIfFalse)

-- * Tx info
Expand Down
1 change: 0 additions & 1 deletion hydra-plutus/src/Hydra/ScriptContext.hs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{-# LANGUAGE TemplateHaskell #-}
{-# OPTIONS_GHC -Wno-simplifiable-class-constraints #-}
{-# OPTIONS_GHC -fno-omit-interface-pragmas #-}
{-# OPTIONS_GHC -fno-specialise #-}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ import Plutus.Codec.CBOR.Encoding (
encodeList,
encodeListLen,
encodeMap,
encodeMaybe,
encodingToBuiltinByteString,
)
import PlutusLedgerApi.V3 (
Address (..),
Credential (..),
CurrencySymbol (..),
DatumHash (..),
OutputDatum,
PubKeyHash (..),
ScriptHash (..),
Expand Down Expand Up @@ -153,6 +151,6 @@ encodeValue =
{-# INLINEABLE encodeValue #-}

encodeDatum :: OutputDatum -> Encoding
encodeDatum o =
encodeDatum _ =
encodeByteString ""
{-# INLINEABLE encodeDatum #-}

0 comments on commit 30601e7

Please sign in to comment.