Skip to content

Commit

Permalink
Fix typo on "purposes"
Browse files Browse the repository at this point in the history
Co-authored-by: Clément Hurlin <[email protected]>
  • Loading branch information
palas and smelc authored Jan 27, 2025
1 parent 61139f5 commit 31cd3fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardano-api/internal/Cardano/Api/Plutus.hs
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ collectScriptHashes aeo tb utxo =
ledgerUTxO = toLedgerUTxO (convert aeo) utxo
in getPurpouses aeo $ L.getScriptsNeeded ledgerUTxO (ledgerTx' ^. L.bodyTxL)
where
getPurpouses
getPurposes
:: L.EraCrypto (ShelleyLedgerEra era) ~ L.StandardCrypto
=> AlonzoEraOnwards era
-> Alonzo.AlonzoScriptsNeeded (ShelleyLedgerEra era)
-> Map ScriptWitnessIndex Api.ScriptHash
getPurpouses aeo' (Alonzo.AlonzoScriptsNeeded purpouses) =
getPurpouses aeo' (Alonzo.AlonzoScriptsNeeded purposes) =
alonzoEraOnwardsConstraints aeo $
Map.fromList $
Prelude.map
Expand Down

0 comments on commit 31cd3fe

Please sign in to comment.