File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ouroboros-consensus/src/unstable-mock-block/Ouroboros/Consensus/Mock/Ledger Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ instance TxLimits (SimpleBlock c ext) where
440440 type TxMeasure (SimpleBlock c ext ) = SizeInBytes
441441
442442 blockTxCapacity _cfg _st = simpleBlockTxCapacity
443- txInBlockSize _cfg _st = SizeInBytes . txSize
443+ txInBlockSize _cfg _st = txSize
444444
445445 txMeasureBytes _ = id
446446
@@ -489,8 +489,8 @@ mkSimpleGenTx tx = SimpleGenTx
489489 , simpleGenTxId = Hash. hashWithSerialiser toCBOR tx
490490 }
491491
492- txSize :: GenTx (SimpleBlock c ext ) -> Word32
493- txSize = fromIntegral . Lazy. length . serialise
492+ txSize :: GenTx (SimpleBlock c ext ) -> SizeInBytes
493+ txSize = SizeInBytes . fromIntegral . Lazy. length . serialise
494494
495495{- ------------------------------------------------------------------------------
496496 Support for QueryLedger
You can’t perform that action at this time.
0 commit comments