Skip to content

Commit 3834543

Browse files
committed
lint: clippy
1 parent e5521b0 commit 3834543

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/rpc/src/debug/endpoints.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ where
102102
response_tri!(res.ok_or_else(|| EthApiError::HeaderNotFound(meta.block_hash.into())));
103103

104104
// Load trevm at the start of the block (i.e. before any transactions are applied)
105-
let mut trevm = response_tri!(
106-
ctx.trevm(crate::LoadState::Before, block.header()).map_err(EthApiError::from)
107-
);
105+
let mut trevm = response_tri!(ctx.trevm(crate::LoadState::Before, block.header()));
108106

109107
// Apply all transactions in the block up to (but not including) the
110108
// target one

0 commit comments

Comments
 (0)