Skip to content

Commit

Permalink
chore: remove redundant words in comment (#1759)
Browse files Browse the repository at this point in the history
remove redundant words in comment
  • Loading branch information
noonio authored Dec 30, 2024
2 parents 1b447f3 + 0eb4637 commit 11a8d79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hydra-cardano-api/src/Hydra/Cardano/Api/TxIn.hs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fromPlutusTxOutRef (Plutus.TxOutRef (Plutus.TxId bytes) ix) =
-- | Convert a cardano-api 'TxIn' into a plutus 'TxOutRef'.
toPlutusTxOutRef :: TxIn -> Plutus.TxOutRef
toPlutusTxOutRef txIn =
-- XXX: The upstream 'transTxIn' works only with the the PlutusV1 type, so we
-- XXX: The upstream 'transTxIn' works only with the PlutusV1 type, so we
-- needed to vendor its definition here.
let (Ledger.TxIn (Ledger.TxId safe) txIx) = toLedgerTxIn txIn
in Plutus.TxOutRef (Plutus.TxId $ transSafeHash safe) (toInteger $ Ledger.txIxToInt txIx)
Expand Down
2 changes: 1 addition & 1 deletion hydra-node/src/Hydra/Chain/CardanoClient.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ instance Exception QueryException where
displayException = \case
QueryAcquireException failure -> show failure
QueryEraMismatchException EraMismatch{ledgerEraName, otherEraName} ->
-- NOTE: The "ledger" here is the the one in the cardano-node and "otherEra" is the one we picked for the query.
-- NOTE: The "ledger" here is the one in the cardano-node and "otherEra" is the one we picked for the query.
printf "Connected to cardano-node in unsupported era %s, while we requested %s. Please upgrade your hydra-node." ledgerEraName otherEraName
QueryProtocolParamsConversionException err -> show err
QueryProtocolParamsEraNotSupported unsupportedEraName ->
Expand Down
2 changes: 1 addition & 1 deletion hydra-node/test/Hydra/HeadLogicSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{-# OPTIONS_GHC -Wno-ambiguous-fields #-}
{-# OPTIONS_GHC -Wno-unused-do-bind #-}

-- | Unit tests of the the protocol logic in 'HeadLogic'. These are very fine
-- | Unit tests of the protocol logic in 'HeadLogic'. These are very fine
-- grained and specific to individual steps in the protocol. More high-level of
-- the protocol logic, especially between multiple parties can be found in
-- 'Hydra.BehaviorSpec'.
Expand Down

0 comments on commit 11a8d79

Please sign in to comment.