Skip to content

Commit d24d014

Browse files
committed
Fix block size
Header size was used instead
1 parent f77cfa6 commit d24d014

File tree

1 file changed

+1
-1
lines changed
  • cardano-db-sync/src/Cardano/DbSync/Era/Shelley/Generic

1 file changed

+1
-1
lines changed

cardano-db-sync/src/Cardano/DbSync/Era/Shelley/Generic/Block.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ blockProtoVersionPraos :: ShelleyBlock PraosStandard era -> Ledger.ProtVer
203203
blockProtoVersionPraos = Praos.hbProtVer . getHeaderBodyPraos . blockHeader
204204

205205
blockSize :: ProtocolHeaderSupportsEnvelope p => ShelleyBlock p era -> Word64
206-
blockSize = fromIntegral . pHeaderSize . blockHeader
206+
blockSize = fromIntegral . pHeaderBlockSize . blockHeader
207207

208208
blockTxs ::
209209
( ShelleyBasedEra era

0 commit comments

Comments
 (0)