Skip to content

Commit

Permalink
fix evm printer for solc > 0.6.0 (#1567)
Browse files Browse the repository at this point in the history
  • Loading branch information
A-23187 authored Jun 3, 2023
1 parent 00461aa commit 5f9abc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/analyses/evm/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def generate_source_to_evm_ins_mapping(evm_instructions, srcmap_runtime, slither
if mapping_item[i] == "":
mapping_item[i] = int(prev_mapping[i])

offset, _length, file_id, _ = mapping_item
offset, _length, file_id, *_ = mapping_item
prev_mapping = mapping_item

if file_id == "-1":
Expand Down

0 comments on commit 5f9abc2

Please sign in to comment.