Skip to content

Commit

Permalink
Merge #4501
Browse files Browse the repository at this point in the history
4501: Fix 4493 bug r=Jimbo4350 a=Jimbo4350

Resolves: #4493 

Co-authored-by: Jordan Millar <[email protected]>
  • Loading branch information
iohk-bors[bot] and Jimbo4350 authored Oct 5, 2022
2 parents 4375bf7 + 76beb9a commit 8fa420b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cardano-api/src/Cardano/Api/Tx.hs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ instance IsCardanoEra era => HasTextEnvelope (KeyWitness era) where
textEnvelopeType _ =
case cardanoEra :: CardanoEra era of
ByronEra -> "TxWitnessByron"
ShelleyEra -> "TxWitnessShelley"
ShelleyEra -> "TxWitness ShelleyEra"
AllegraEra -> "TxWitness AllegraEra"
MaryEra -> "TxWitness MaryEra"
AlonzoEra -> "TxWitness AlonzoEra"
Expand Down
2 changes: 1 addition & 1 deletion cardano-cli/src/Cardano/CLI/Shelley/Run/Transaction.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1759,7 +1759,7 @@ acceptKeyWitnessCDDLSerialisation err =
firstExceptT (ShelleyTxCmdTextEnvCddlError tEnvErr)
$ newExceptT $ readFileTextEnvelopeCddlAnyOf teTypes fp

teTypes = [ FromCDDLWitness "TxWitness Shelley" CddlWitness
teTypes = [ FromCDDLWitness "TxWitness ShelleyEra" CddlWitness
, FromCDDLWitness "TxWitness AllegraEra" CddlWitness
, FromCDDLWitness "TxWitness MaryEra" CddlWitness
, FromCDDLWitness "TxWitness AlonzoEra" CddlWitness
Expand Down

0 comments on commit 8fa420b

Please sign in to comment.