Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
divagant-martian committed Jul 1, 2022
1 parent 9de61e0 commit b52743c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions beacon_node/execution_layer/src/engines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ impl Engine {
)
};
if engine_synced {
match func(&self).await {
match func(self).await {
Ok(result) => Ok(result),
Err(error) => {
debug!(
Expand Down Expand Up @@ -313,7 +313,7 @@ impl Engine {
id: self.id.clone(),
})
} else {
match func(&self).await {
match func(self).await {
Ok(res) => Ok(res),
Err(error) => {
debug!(
Expand Down

0 comments on commit b52743c

Please sign in to comment.