Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-Becker committed Dec 7, 2024
1 parent c212818 commit 26b3fe6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/decompile/src/utils/heuristics/extcall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ pub fn extcall_heuristic<'a>(
function.logic.push(precompile_logic);
} else if let Some(decoded) = decoded {
function.logic.push(format!(
"(bool success, bytes memory ret0) = address({}).{}{}(...); // {}",
"(bool success, bytes memory ret0) = address({}).{}{}({}); // {}",
address,
modifier,
decoded.decoded.name,
decoded.decoded.inputs.join(", "),
opcode_name(instruction.opcode).to_lowercase(),
));
} else {
Expand Down

0 comments on commit 26b3fe6

Please sign in to comment.