Skip to content

Commit

Permalink
Fix Conway script hash mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbo4350 committed Feb 13, 2024
1 parent f590906 commit 0fa74a6
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 0fa74a6

Please sign in to comment.