Skip to content

Commit

Permalink
fix(fmt): format rpc debug
Browse files Browse the repository at this point in the history
  • Loading branch information
JosepBove committed Sep 20, 2024
1 parent dc3a6db commit f13a774
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions crates/rpc/rpc/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,10 +399,9 @@ where
return Ok(frame);
}
GethDebugBuiltInTracerType::FlatCallTracer => {
return Err(EthApiError::Unsupported(
"Flatcall tracer is not supported yet",
return Err(
EthApiError::Unsupported("Flatcall tracer is not supported yet").into()
)
.into())
}
},
#[cfg(not(feature = "js-tracer"))]
Expand Down Expand Up @@ -768,10 +767,9 @@ where
return Ok((frame.into(), res.state));
}
GethDebugBuiltInTracerType::FlatCallTracer => {
return Err(EthApiError::Unsupported(
"Flatcall tracer is not supported yet",
return Err(
EthApiError::Unsupported("Flatcall tracer is not supported yet").into()
)
.into())
}
},
#[cfg(not(feature = "js-tracer"))]
Expand Down

0 comments on commit f13a774

Please sign in to comment.