Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Feb 8, 2023
1 parent eba8129 commit aea319a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/wallet/src/Cardano/Wallet/Write/Tx.hs
Expand Up @@ -329,7 +329,7 @@ type TxOut era = Core.TxOut era

modifyTxOutValue
:: RecentEra era
-> (Value (ShelleyLedgerEra era) -> Value (ShelleyLedgerEra era))
-> (MaryValue StandardCrypto -> MaryValue StandardCrypto)
-> TxOut (ShelleyLedgerEra era)
-> TxOut (ShelleyLedgerEra era)
modifyTxOutValue RecentEraBabbage f (Babbage.BabbageTxOut addr val dat script) =
Expand All @@ -350,7 +350,7 @@ modifyTxOutCoin era f = withStandardCryptoConstraint era $
txOutValue
:: RecentEra era
-> TxOut (ShelleyLedgerEra era)
-> Value (ShelleyLedgerEra era)
-> MaryValue StandardCrypto
txOutValue RecentEraBabbage (Babbage.BabbageTxOut _ val _ _) = val
txOutValue RecentEraAlonzo (Alonzo.AlonzoTxOut _ val _) = val

Expand Down Expand Up @@ -517,7 +517,7 @@ datumHashToBytes = Crypto.hashToBytes . extractHash
data TxOutInRecentEra
= TxOutInRecentEra
Address
(MaryValue LatestLedgerEra)
(MaryValue StandardCrypto)
(Datum LatestLedgerEra)
(Maybe (AlonzoScript LatestLedgerEra))
-- Same contents as 'TxOut LatestLedgerEra'.
Expand Down

0 comments on commit aea319a

Please sign in to comment.