File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -185,4 +185,5 @@ emptySlitherInfo = SlitherInfo mempty mempty mempty mempty mempty [] [] []
185185
186186isEmptySlitherInfo :: Maybe SlitherInfo -> Bool
187187isEmptySlitherInfo (Just (SlitherInfo _ _ _ _ _ [] [] [] )) = True
188+ isEmptySlitherInfo Nothing = True
188189isEmptySlitherInfo _ = False
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ ui vm dict initialCorpus cliSelectedContract = do
127127 , timeStarted = now
128128 , timeStopped = Nothing
129129 , now = now
130- , slitherSucceeded = isEmptySlitherInfo env. slitherInfo
130+ , slitherSucceeded = not $ isEmptySlitherInfo env. slitherInfo
131131 , fetchedContracts = mempty
132132 , fetchedSlots = mempty
133133 , fetchedDialog = B. dialog (Just $ str " Fetched contracts/slots " ) Nothing 80
Original file line number Diff line number Diff line change @@ -228,8 +228,8 @@ slitherWidget
228228 :: Bool
229229 -> Widget Name
230230slitherWidget slitherSucceeded = if slitherSucceeded
231- then alert (str " No Slither in use " )
232- else success (str " Slither succeeded " )
231+ then success (str " Slither succeeded " )
232+ else alert (str " No Slither in use! " )
233233
234234outOf :: Int -> Int -> Widget n
235235outOf n m =
You can’t perform that action at this time.
0 commit comments