Skip to content

Commit

Permalink
Merge pull request #452 from IntersectMBO/jordan/fix-conway-script-ha…
Browse files Browse the repository at this point in the history
…sh-mismatch

Fix Conway script hash mismatch
  • Loading branch information
Jimbo4350 authored Feb 13, 2024
2 parents f590906 + 0fa74a6 commit 6f88abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cardano-api/internal/Cardano/Api/Script.hs
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ hashScript (PlutusScript PlutusScriptV2 (PlutusScriptSerialised script)) =
hashScript (PlutusScript PlutusScriptV3 (PlutusScriptSerialised script)) =
ScriptHash
. Ledger.hashScript @(ShelleyLedgerEra ConwayEra)
. Alonzo.PlutusScript . Conway.ConwayPlutusV1 . Plutus.Plutus
. Alonzo.PlutusScript . Conway.ConwayPlutusV3 . Plutus.Plutus
$ Plutus.PlutusBinary script

toShelleyScriptHash :: ScriptHash -> Shelley.ScriptHash StandardCrypto
Expand Down

0 comments on commit 6f88abf

Please sign in to comment.