Skip to content

Commit 26481ad

Browse files
committed
fix never happen todo
1 parent 5f0e894 commit 26481ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/execution/geth-tracer/src/geth_tracer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ pub fn to_instruction_result(frame_result: &FrameResult) -> InstructionResult {
450450
Error::Wasm(_) => InstructionResult::NotActivated,
451451
Error::OutOfBounds => InstructionResult::OutOfOffset,
452452
Error::Reverted => InstructionResult::Revert,
453-
Error::InvalidAddress(_) => todo!(), /* when selfdestruct refund */
453+
Error::InvalidAddress(_) => InstructionResult::Revert, /* when selfdestruct refund */
454454
// address is invalid will emit this error
455455
Error::ConflictAddress(_) => InstructionResult::CreateCollision,
456456
Error::CreateContractStartingWithEF => {

0 commit comments

Comments
 (0)