Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Chainweb/Miner/RestAPI/Server.hs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ updatesHandler mr (ChainBytes cbytes) = Tagged $ \req resp -> withLimit resp $ d
blockOnChainRef <- newIORef (WorkReady blockOnChain)

-- An update stream is closed after @timeout@ seconds. We add some jitter to
-- availablility of streams is uniformily distributed over time and not
-- availability of streams is uniformily distributed over time and not
-- predictable.
--
jitter <- randomRIO @Double (0.9, 1.1)
Expand Down
2 changes: 1 addition & 1 deletion test/lib/Chainweb/Test/Cut.hs
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ properties_miscCut db v =
]

-- -------------------------------------------------------------------------- --
-- Other Miscelaneous Properties
-- Other Miscellaneous Properties

prop_blockCountAtChainHeight :: ChainGraph -> ChainGraph -> T.Property
prop_blockCountAtChainHeight g0 g1 = T.counterexample (show v)
Expand Down