Skip to content

Commit

Permalink
Revert "entrypoint changes map_err -> inspect_err"
Browse files Browse the repository at this point in the history
This reverts commit fb42012.
  • Loading branch information
AnastasiyaTarasova committed Jan 24, 2025
1 parent 033f332 commit 20f337f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evm_loader/program/src/entrypoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn process_instruction<'a>(
Err(ProgramError::InvalidInstructionData.into())
}
}
.inspect_err(|e| {
.map_err(|e| {
e.log_data();
e
})
Expand Down Expand Up @@ -224,7 +224,7 @@ fn process_instruction<'a>(
instruction::operator_withdraw_balance::process(program_id, accounts, instruction)
}
}
.inspect_err(|e| {
.map_err(|e| {
e.log_data();
e
})
Expand Down

0 comments on commit 20f337f

Please sign in to comment.