Skip to content

Commit

Permalink
Fix compilation errors in toLedgerScript.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles authored and erikd committed Mar 16, 2023
1 parent d9a497c commit dacfb22
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/wallet/src/Cardano/Wallet/Shelley/Transaction.hs
Expand Up @@ -773,27 +773,27 @@ updateSealedTx (Cardano.Tx body existingKeyWits) extraContent = do
ShelleyBasedEraShelley ->
Cardano.toShelleyScript $ Cardano.ScriptInEra
Cardano.SimpleScriptInShelley
(Cardano.SimpleScript Cardano.SimpleScript $
(Cardano.SimpleScript $
toCardanoSimpleScriptV1 walletScript)
ShelleyBasedEraAllegra ->
Cardano.toShelleyScript $ Cardano.ScriptInEra
Cardano.SimpleScriptInAllegra
(Cardano.SimpleScript Cardano.SimpleScript $
(Cardano.SimpleScript $
toCardanoSimpleScript walletScript)
ShelleyBasedEraMary ->
Cardano.toShelleyScript $ Cardano.ScriptInEra
Cardano.SimpleScriptInMary
(Cardano.SimpleScript Cardano.SimpleScript $
(Cardano.SimpleScript $
toCardanoSimpleScript walletScript)
ShelleyBasedEraAlonzo ->
Cardano.toShelleyScript $ Cardano.ScriptInEra
Cardano.SimpleScriptInAlonzo
(Cardano.SimpleScript Cardano.SimpleScript $
(Cardano.SimpleScript $
toCardanoSimpleScript walletScript)
ShelleyBasedEraBabbage ->
Cardano.toShelleyScript $ Cardano.ScriptInEra
Cardano.SimpleScriptInBabbage
(Cardano.SimpleScript Cardano.SimpleScript $
(Cardano.SimpleScript $
toCardanoSimpleScript walletScript)

-- NOTE: If the ShelleyMA MAClass were exposed, the Allegra and Mary
Expand Down

0 comments on commit dacfb22

Please sign in to comment.