pull/236/head
Joran Honig 7 years ago
parent 25f4767c60
commit d455995bbd
  1. 5
      mythril/analysis/modules/multiple_sends.py

@ -24,7 +24,8 @@ def execute(statespace):
"Information")
issue.description = \
"Multiple sends exist in one transaction, try to isolate each external call into its own transaction. As external calls can fail accidentally or deliberately.\nConsecutive calls: \n"
"Multiple sends exist in one transaction, try to isolate each external call into its own transaction." \
" As external calls can fail accidentally or deliberately.\nConsecutive calls: \n"
for finding in findings:
issue.description += \
@ -36,7 +37,7 @@ def execute(statespace):
def _explore_nodes(call, statespace):
children = _child_nodes(statespace, call.node)
sending_children = list(filter(lambda call: call.node in children , statespace.calls))
sending_children = list(filter(lambda call: call.node in children, statespace.calls))
return sending_children

Loading…
Cancel
Save