From c513737bc3fb10b6f743bdfd03b830886dc71d90 Mon Sep 17 00:00:00 2001 From: A23187 Date: Sun, 8 Jan 2023 00:27:26 +0800 Subject: [PATCH] fix generate_source_to_evm_ins_mapping --- slither/analyses/evm/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slither/analyses/evm/convert.py b/slither/analyses/evm/convert.py index bff308cbca..5e8c4a1280 100644 --- a/slither/analyses/evm/convert.py +++ b/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":