Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Aug 18, 2023
1 parent 5f93aa1 commit 6036274
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions crates/rpc/rpc-api/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,4 @@ pub trait DebugApi {
/// be printed to stderr.
#[method(name = "backtraceAt")]
async fn debug_backtrace_at(&self, location: &str) -> RpcResult<()>;



}
4 changes: 0 additions & 4 deletions crates/rpc/rpc/src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ use std::sync::Arc;
use tokio::sync::{mpsc, AcquireError, OwnedSemaphorePermit};
use tokio_stream::{wrappers::ReceiverStream, StreamExt};


/// `debug` API implementation.
///
/// This type provides the functionality for handling `debug` related requests.
Expand Down Expand Up @@ -645,12 +644,9 @@ where
}

async fn debug_backtrace_at(&self, _location: &str) -> RpcResult<()> {

Ok(())
}



/// Handler for `debug_getRawBlock`
async fn raw_block(&self, block_id: BlockId) -> RpcResult<Bytes> {
let block = self.inner.provider.block_by_id(block_id).to_rpc_result()?;
Expand Down

0 comments on commit 6036274

Please sign in to comment.