Skip to content
This repository was archived by the owner on Jun 24, 2026. It is now read-only.

Commit 58a8ffa

Browse files
authored
Fix #1533 (#1534)
1 parent 5e5f5bd commit 58a8ffa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manticore/ethereum/solidity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def __build_source_map(self, bytecode, srcmap):
109109
# https://solidity.readthedocs.io/en/develop/miscellaneous.html#source-mappings
110110
new_srcmap = {}
111111
bytecode = self._without_metadata(bytecode)
112-
if self.source_code and srcmap:
112+
if self.source_code and bytecode and srcmap:
113113

114114
asm_offset = 0
115115
asm_pos = 0

0 commit comments

Comments
 (0)