From 4111693ecc417e3df1328d6e7ee4abca8857e00f Mon Sep 17 00:00:00 2001 From: Maxim Andreev Date: Thu, 26 Sep 2024 09:01:34 +0000 Subject: [PATCH] arguments: improve accuracy using success result in calls --- src/evm/vm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/evm/vm.rs b/src/evm/vm.rs index 66e1c36..70ad97e 100644 --- a/src/evm/vm.rs +++ b/src/evm/vm.rs @@ -504,7 +504,7 @@ where self.stack.pop()?; } - self.stack.push_uint(U256::ZERO); // failure + self.stack.push_data(VAL_1_B); // success let mut ret = StepResult::new(op, 100); ret.fa = Some(p1);