Skip to content

Commit

Permalink
Merge pull request #373 from ethereum/fix-error-call
Browse files Browse the repository at this point in the history
Fixing error call -- should have been `internalError`
  • Loading branch information
d-xo authored Sep 6, 2023
2 parents e2f32c2 + de2e21e commit 984cf28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EVM/Expr.hs
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ getAddr :: Expr Storage -> Maybe (Expr EAddr)
getAddr (SStore _ _ p) = getAddr p
getAddr (AbstractStore a) = Just a
getAddr (ConcreteStore _) = Nothing
getAddr (GVar _) = error "cannot determine addr of a GVar"
getAddr (GVar _) = internalError "cannot determine addr of a GVar"


-- ** Whole Expression Simplification ** -----------------------------------------------------------
Expand Down

0 comments on commit 984cf28

Please sign in to comment.