Skip to content

Commit

Permalink
fix(decompile): filter fallback from ABI generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-Becker committed Jul 27, 2024
1 parent 911036d commit 6909d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/decompile/src/core/out/abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ pub fn build_abi(
let mut abi = JsonAbi::new();

// add functions
functions.iter().for_each(|f| {
functions.iter().filter(|f| !f.fallback).for_each(|f| {
// determine the state mutability of the function
let state_mutability = match f.pure {
true => StateMutability::Pure,
Expand Down

0 comments on commit 6909d4a

Please sign in to comment.