File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
ouroboros-consensus-diffusion/src/ouroboros-consensus-diffusion/Ouroboros/Consensus Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -926,16 +926,21 @@ getMempoolWriter mempool =
926926 Inbound. TxSubmissionMempoolWriter
927927 { Inbound. txId = txId
928928 , mempoolAddTxs = \ txs ->
929- bimap (map (\ case
930- MempoolTxAdded tx -> txId (txForgetValidated tx)
931- MempoolTxRejected {} -> error " impossible happened"
932- ))
933- (map (\ case
934- MempoolTxRejected tx _reason -> (txId tx, () )
935- MempoolTxAdded {} -> error " impossible happened"
936- ))
937- . List. partition isMempoolTxAdded
938- <$> addTxs mempool txs
929+ bimap
930+ ( map
931+ ( \ case
932+ MempoolTxAdded tx -> txId (txForgetValidated tx)
933+ MempoolTxRejected {} -> error " impossible happened"
934+ )
935+ )
936+ ( map
937+ ( \ case
938+ MempoolTxRejected tx _reason -> (txId tx, () )
939+ MempoolTxAdded {} -> error " impossible happened"
940+ )
941+ )
942+ . List. partition isMempoolTxAdded
943+ <$> addTxs mempool txs
939944 }
940945
941946{- ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments