fix evm printer for solc > 0.6.0 (#1567)

pull/1947/head
A23187 1 year ago committed by GitHub
parent 00461aad9a
commit 5f9abc2e89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/analyses/evm/convert.py

@ -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":

Loading…
Cancel
Save