housekeeping(server): fixed clippy warns
Some checks failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-test Pipeline was successful
ci/woodpecker/pr/useragent-analyze Pipeline failed

This commit is contained in:
hdbg
2026-04-03 22:14:41 +02:00
parent e47ccc3108
commit 0362044b83
6 changed files with 5 additions and 10 deletions

View File

@@ -27,7 +27,7 @@ impl TryConvert for RawEvmTransaction {
type Error = tonic::Status;
fn try_convert(mut self) -> Result<Self::Output, Self::Error> {
fn try_convert(self) -> Result<Self::Output, Self::Error> {
let tx = TxEip1559::decode(&mut self.0.as_slice()).map_err(|_| {
tonic::Status::invalid_argument("Invalid EVM transaction format")
})?;