From 2b5219511348328bbfff6be3b3ab162530206c5b Mon Sep 17 00:00:00 2001 From: Arsenii Kulikov Date: Wed, 6 Dec 2023 00:13:56 +0400 Subject: [PATCH] Fix --- crates/evm/traces/src/decoder/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/evm/traces/src/decoder/mod.rs b/crates/evm/traces/src/decoder/mod.rs index 3c4c1d766212..87d813ec3d48 100644 --- a/crates/evm/traces/src/decoder/mod.rs +++ b/crates/evm/traces/src/decoder/mod.rs @@ -410,7 +410,7 @@ impl CallTraceDecoder { s = funcs.iter().find_map(|func| self.decode_cheatcode_outputs(func)); } - if s.is_some() { + if s.is_none() { if let Some(values) = funcs.iter().find_map(|func| func.abi_decode_output(data, false).ok()) {