Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit 8cdec88

Browse files
committed
Less delay to compensate for 20-chains
1 parent 62c6ce9 commit 8cdec88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Worker/ConstantDelay.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import Worker
3939
constantDelayWorker :: Logger -> Natural -> Worker
4040
constantDelayWorker logger delay _nonce _target work = do
4141
logg Info $ "solve time (seconds): " <> T.pack (show delay)
42-
threadDelay (1_000000 * fromIntegral delay)
42+
threadDelay ((1_000000 * fromIntegral delay) `div` 20)
4343
return work
4444
where
4545
logg = writeLog logger

0 commit comments

Comments
 (0)