Skip to content

Commit

Permalink
send request back for unimplemented methods
Browse files Browse the repository at this point in the history
  • Loading branch information
hacker-volodya committed Jun 18, 2024
1 parent 63d30c2 commit 2344fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liteserver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ impl LiteServer {
Request::LookupBlock(req) => Ok(Response::BlockHeader(
self.lookup_block(req).await?,
)),
_ => Err(anyhow!("unimplemented")),
_ => Err(anyhow!("unimplemented method: {:?}", req.request)),
}
}
}
Expand Down

0 comments on commit 2344fe2

Please sign in to comment.