Changes to be committed:

modified:   examples/scripts/possible_paths.py
pull/2308/head
unknown 9 months ago
parent e3dcf1ecd3
commit 9fd6128b94
  1. 2
      examples/scripts/possible_paths.py

@ -19,7 +19,7 @@ def resolve_function(contract_name, function_name):
contract = contracts[0] contract = contracts[0]
# Obtain the target function # Obtain the target function
target_function = next( target_function = next(
(function for function in contract.functions if function.name == function_name), None (function for function in contract.functions_declared if function.name == function_name), None
) )
# Verify we have resolved the function specified. # Verify we have resolved the function specified.

Loading…
Cancel
Save