Skip to content

Commit

Permalink
arguments: improve accuracy using success result in calls
Browse files Browse the repository at this point in the history
  • Loading branch information
cdump committed Sep 26, 2024
1 parent b2885c8 commit 4111693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evm/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4111693

Please sign in to comment.