Skip to content

Commit f392bca

Browse files
committed
Hlint fixes
1 parent 9bfa0d2 commit f392bca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cardano-db/test/Test/IO/Cardano/Db/EpochCalc.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ word128RoundTripWithTrailingZerosTest =
5151
{ epochOutSum = 380_000_000_000_000_000 -- ~38B ADA in lovelace
5252
, epochFees = DbLovelace 36_000_000_000 -- ~36k ADA in lovelace
5353
, epochTxCount = 100
54-
, epochBlkCount = 21600
54+
, epochBlkCount = 21_600
5555
, epochNo = 999_999 -- Use a high epoch number unlikely to clash
5656
, epochStartTime = dummyUTCTime
5757
, epochEndTime = dummyUTCTime
@@ -112,7 +112,7 @@ queryCalcEpochEntryLargeSumsTest =
112112
, txScriptSize = 0
113113
, txTreasuryDonation = DbLovelace 0
114114
}
115-
mapM_ (\i -> void . insertTx $ bigTx i) [0 .. nTxs - 1]
115+
mapM_ (insertTx . bigTx) [0 .. nTxs - 1]
116116

117117
-- mkBlock hard-codes epoch_no = 0
118118
calcEpoch <- queryCalcEpochEntry 0

0 commit comments

Comments
 (0)