We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ebacd7 commit 288ccbbCopy full SHA for 288ccbb
ouroboros-consensus/bench/mempool-bench/Main.hs
@@ -16,6 +16,7 @@ import qualified Control.Tracer as Tracer
16
import Data.Aeson
17
import qualified Data.ByteString.Lazy as BL
18
import qualified Data.Csv as Csv
19
+import Data.Foldable (foldMap')
20
import Data.Maybe (fromMaybe)
21
import Data.Set ()
22
import qualified Data.Text as Text
@@ -139,7 +140,7 @@ openMempoolWithCapacityFor cmds =
139
140
}
141
where
142
capacityRequiredByCmds = Mempool.mkCapacityBytesOverride totalTxsSize
- where totalTxsSize = foldMap TestBlock.txSize $ getCmdsTxs cmds
143
+ where totalTxsSize = foldMap' TestBlock.txSize $ getCmdsTxs cmds
144
145
mkNTryAddTxs :: Int -> [MempoolCmd TestBlock.TestBlock]
146
mkNTryAddTxs 0 = []
0 commit comments