Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
chessai committed Mar 25, 2024
1 parent e61d42c commit ce57ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tool/Pact/Analyze/Eval/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ evalCore (Keccak256Hash xs) = eval xs <&> unliteralS >>= \case
Just (xs':: [Str]) -> do
let tm = fmap (\x -> T.pack (unStr x)) xs'
h = keccak256 (V.fromList tm)
pure (literalS . Str . either (error . show) T.unpack $ h) --T.unpack $ h)
pure (literalS . Str . either (error . show) T.unpack $ h)

evalCore (ListContains ty needle haystack) = withSymVal ty $ do
S _ needle' <- withSing ty $ eval needle
Expand Down

0 comments on commit ce57ba9

Please sign in to comment.