Skip to content

Commit 15f8900

Browse files
committed
wip
1 parent 04c382b commit 15f8900

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cardano-cli/src/Cardano/CLI/Json/Friendly.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,8 @@ friendlyLovelace value = String $ docToText (pretty value)
804804
friendlyMintValue :: TxMintValue ViewTx era -> Aeson.Value
805805
friendlyMintValue = \case
806806
TxMintNone -> Null
807-
TxMintValue sbe v -> friendlyValue (maryEraOnwardsToShelleyBasedEra sbe) . mconcat $ map fst v
807+
txMintValue@(TxMintValue w _) ->
808+
friendlyValue (maryEraOnwardsToShelleyBasedEra w) (txMintValueToValue txMintValue)
808809

809810
friendlyTxOutValue :: TxOutValue era -> Aeson.Value
810811
friendlyTxOutValue = \case

cardano-cli/src/Cardano/CLI/Read.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ readScriptWitness
352352
datumOrFile
353353
redeemerOrFile
354354
execUnits
355-
mPid
355+
_mPid -- TODO remove
356356
) = do
357357
caseShelleyToAlonzoOrBabbageEraOnwards
358358
( const $

0 commit comments

Comments
 (0)