Skip to content

Commit 017b181

Browse files
more fixes
1 parent b52d729 commit 017b181

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/Echidna/Output/Source.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,9 @@ markLines fileType codeLines runtimeLines resultMap =
166166
cssClass = if n `elem` runtimeLines then getCSSClass markers else "n" -- fallback to 'neutral' class.
167167
result = case fileType of
168168
Lcov -> pack $ printf "DA:%d,%d" n (length results)
169-
_ -> pack $ printf " %*d | %-4s| %s" lineNrSpan n markers (wrapLine codeLine)
169+
_ -> pack $ printf " %-4s %s" markers (wrapLine codeLine)
170170

171171
in result
172-
lineNrSpan = length . show $ V.length codeLines + 1
173172

174173
getCSSClass :: String -> Text
175174
getCSSClass markers =

lib/Echidna/Transaction.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ genTx world deployedContracts = do
7878
call <- genInteractionsM genDict sigs
7979
pure (addr, call)
8080
else do
81-
usePrioritized <- (<= (0.9 :: Double)) <$> getRandom
81+
usePrioritized <- (<= (0.25 :: Double)) <$> getRandom
8282
if usePrioritized
8383
then do
8484
(pName, pArgs) <- rElem (NE.fromList prioritized)

0 commit comments

Comments
 (0)