Skip to content

Commit

Permalink
fix callvalue type
Browse files Browse the repository at this point in the history
  • Loading branch information
nick199910 committed May 22, 2024
1 parent 55617ab commit 10c612b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evm/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ impl SinglePostExecution {
code_address: interp.contract.bytecode_address,
address: interp.contract.target_address,
caller: interp.contract.caller,
value: CallValue::Apparent(interp.contract.call_value),
value: CallValue::Transfer(interp.contract.call_value),
output_len: out_len,
output_offset: out_offset,
}
Expand Down Expand Up @@ -841,7 +841,7 @@ where
bytecode_address: contract_address,
target_address: contract_address,
caller,
value: CallValue::Apparent(value),
value: CallValue::Transfer(value),
scheme: CallScheme::Call,
is_static: false,
is_eof: false,
Expand Down

0 comments on commit 10c612b

Please sign in to comment.