Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
benluelo committed Sep 28, 2023
1 parent 8cd22a3 commit 1a58752
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/chain-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use std::{
hash::Hash,
};

use chrono::{DateTime, Utc};
use futures::{Future, Stream};
use serde::{Deserialize, Serialize};
use unionlabs::{
Expand Down
2 changes: 0 additions & 2 deletions lib/chain-utils/src/union.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,10 @@ use protos::ibc::core::channel::v1::QueryPacketAcknowledgementRequest;
use serde::{Deserialize, Serialize};
use sha2::Digest;
use tendermint_rpc::{
error::ResponseSubdetail,
event::EventData,
query::{Condition, EventType, Operand, Query},
Client, SubscriptionClient, WebSocketClient, WebSocketClientUrl,
};
use tokio::select;
use unionlabs::{
ethereum::H256,
events::{IbcEvent, TryFromTendermintEventError},
Expand Down
4 changes: 2 additions & 2 deletions voyager/src/chain/union.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use std::{
marker::PhantomData,
};

use bitvec::vec::BitVec;
use chain_utils::{
evm::Evm,
union::{Union, Wasm},
Expand All @@ -13,7 +12,7 @@ use clap::Args;
use frame_support_procedural::{CloneNoBound, DebugNoBound, PartialEqNoBound};
use frunk::{hlist_pat, HList};
use futures::Future;
use num_bigint::{BigInt, BigUint};
use num_bigint::BigUint;
use prost::Message;
use protos::{
cosmos::{
Expand Down Expand Up @@ -1023,6 +1022,7 @@ where
let a_tokens = a.tokens.parse::<u128>().unwrap();
let b_tokens = b.tokens.parse::<u128>().unwrap();

#[allow(clippy::collapsible_else_if)]
if a_tokens == b_tokens {
let a_key = &a
.consensus_pubkey
Expand Down

0 comments on commit 1a58752

Please sign in to comment.