Skip to content

Commit

Permalink
remove strThreadIndex (used nowhere)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcFontaine committed Jun 8, 2021
1 parent 3d9d87c commit 6a3bb32
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -135,7 +135,7 @@ data SubmissionThreadStats
data SubmissionThreadReport
= SubmissionThreadReport
{ strStats :: !SubmissionThreadStats
, strThreadIndex :: !Natural
-- , strThreadIndex :: !Natural
, strEndOfProtocol :: !UTCTime
}

Expand Down Expand Up @@ -344,9 +344,8 @@ txSubmissionClient tr bmtr sub threadIx =
submitReport :: SubmissionThreadStats -> m SubmissionThreadReport
submitReport strStats = do
strEndOfProtocol <- liftIO Clock.getCurrentTime
let strThreadIndex = threadIx
report = SubmissionThreadReport{..}
submitThreadReport sub threadIx (Right report)
let report = SubmissionThreadReport{..}
submitThreadReport (sReportsRefs sub) threadIx (Right report)
pure report

txToIdSize :: tx -> (gentxid, TxSizeInBytes)
Expand Down

0 comments on commit 6a3bb32

Please sign in to comment.