Syntax errors

pending-opcodes
Eric N 5 years ago
parent 3c3153e242
commit 3dced43216
  1. 4
      mythril/laser/ethereum/instructions.py

@ -963,7 +963,7 @@ class Instruction:
state.max_gas_used += gas_tuple[1]
return [global_state]
_sha3_gas_helper(global_state, length)
Instruction._sha3_gas_helper(global_state, length)
state.mem_extend(index, length)
data_list = [
@ -1674,7 +1674,7 @@ class Instruction:
addr = hex(caller.value)[2:]
addr = "0" * (40 - len(addr)) + addr
_sha3_gas_helper(global_state, len(code_str[:2] // 2))
Instruction._sha3_gas_helper(global_state, len(code_str[:2] // 2))
contract_address = int(
get_code_hash("0xff" + addr + salt + get_code_hash(code_str)[2:])[26:],

Loading…
Cancel
Save