Skip to content

Commit 548ac2a

Browse files
committed
haddock
1 parent 7a8b49d commit 548ac2a

File tree

1 file changed

+2
-0
lines changed
  • eras/alonzo/impl/src/Cardano/Ledger/Alonzo

1 file changed

+2
-0
lines changed

eras/alonzo/impl/src/Cardano/Ledger/Alonzo/TxOut.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ data AlonzoTxOut era
165165
{-# UNPACK #-} !(CompactForm Coin) -- Ada value
166166
{-# UNPACK #-} !DataHash32
167167

168+
-- | This instance is backwards compatible in binary representation with TxOut instances for all
169+
-- previous era
168170
instance (Era era, MemPack (CompactForm (Value era))) => MemPack (AlonzoTxOut era) where
169171
packedByteCount = \case
170172
TxOutCompact' cAddr cValue ->

0 commit comments

Comments
 (0)