pull/87/head
Josselin 6 years ago
parent 8373b04c1f
commit 1d4f761b12
  1. 2
      slither/solc_parsing/declarations/function.py

@ -910,7 +910,7 @@ class FunctionSolc(Function):
if isinstance(callee_ir, InternalCall): if isinstance(callee_ir, InternalCall):
last_ssa = callee_ir.function.get_last_ssa_state_variables_instances() last_ssa = callee_ir.function.get_last_ssa_state_variables_instances()
if ir.lvalue.canonical_name in last_ssa: if ir.lvalue.canonical_name in last_ssa:
ir.rvalues = last_ssa[ir.lvalue.canonical_name] ir.rvalues = list(last_ssa[ir.lvalue.canonical_name])
else: else:
ir.rvalues = [ir.lvalue] ir.rvalues = [ir.lvalue]
else: else:

Loading…
Cancel
Save