Merge pull request #511 from JoranHonig/bugfix/510_multiple_send

Bugfix Multiple send
pull/519/head
JoranHonig 6 years ago committed by GitHub
commit d46ff3a5ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      mythril/analysis/modules/multiple_sends.py

@ -1,4 +1,5 @@
from mythril.analysis.report import Issue
from mythril.laser.ethereum.cfg import JumpType
"""
MODULE DESCRIPTION:
@ -50,7 +51,8 @@ def _explore_states(call, statespace):
def _child_nodes(statespace, node):
result = []
children = [statespace.nodes[edge.node_to] for edge in statespace.edges if edge.node_from == node.uid]
children = [statespace.nodes[edge.node_to] for edge in statespace.edges if edge.node_from == node.uid
and edge.type != JumpType.Transaction]
for child in children:
result.append(child)

Loading…
Cancel
Save