Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ancazamfir committed Oct 7, 2023
1 parent 2ef9317 commit 9ae80dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/relayer-cli/src/commands/tx/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,8 @@ impl Runnable for TxUpgradeClientsCmd {
.chains
.iter()
.filter(|&chain| {
(self.reference_chain_id != chain.id
&& (self.host_chain_id.is_none()
|| self.host_chain_id == Some(chain.id.clone())))
self.reference_chain_id != chain.id && self.host_chain_id.is_none()
|| self.host_chain_id == Some(chain.id.clone())
})
.map(|chain| {
self.upgrade_clients_for_chain(
Expand Down

0 comments on commit 9ae80dd

Please sign in to comment.