Skip to content

Commit

Permalink
Remove the trailing "," in signaturesDB (#766)
Browse files Browse the repository at this point in the history
That corresponding statement in worst case is `if (False or False or False,)` simplifies to `if (False,):`  which simplifies to `True` , so the code below is unreachable
  • Loading branch information
norhh authored and JoranHonig committed Nov 29, 2018
1 parent b013b2c commit 2aa144a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythril/support/signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def get(self, byte_sig: str, online_timeout: int = 2) -> List[str]:
if (
not self.enable_online_lookup
or byte_sig in self.online_lookup_miss
or time.time() < self.online_lookup_timeout,
or time.time() < self.online_lookup_timeout
):
return []

Expand Down

0 comments on commit 2aa144a

Please sign in to comment.