Skip to content

Commit

Permalink
Fix compilation errors in Shelley.Transaction.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles authored and erikd committed Mar 16, 2023
1 parent dacfb22 commit 1ab41cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/wallet/src/Cardano/Wallet/Shelley/Transaction.hs
Expand Up @@ -2507,7 +2507,7 @@ mkUnsignedTx era ttl cs md wdrls certs fees mintData burnData mintingScripts inp
ShelleyBasedEraBabbage -> Just Cardano.MultiAssetInBabbageEra

scriptWitsSupported
:: Cardano.ScriptLanguageInEra Cardano.SimpleScript era
:: Cardano.ScriptLanguageInEra Cardano.SimpleScript' era
scriptWitsSupported = case era of
ShelleyBasedEraShelley -> internalError
"scriptWitsSupported: we should be at least in Mary"
Expand All @@ -2521,7 +2521,6 @@ mkUnsignedTx era ttl cs md wdrls certs fees mintData burnData mintingScripts inp
toScriptWitness script =
Cardano.SimpleScriptWitness
scriptWitsSupported
Cardano.SimpleScript
(Cardano.SScript $ toCardanoSimpleScript script)

constructInpScriptWit inp =
Expand Down

0 comments on commit 1ab41cc

Please sign in to comment.