Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Dec 20, 2023
1 parent 7ff438c commit 674e386
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
6 changes: 2 additions & 4 deletions cli/src/oracle/commands/listen_to_exchange.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@
*/

use crate::{command_utils::get_chain_api, Cli};
use ita_parentchain_interface::integritee::{parachain, solochain};
use itp_node_api::api_client::ParentchainApi;
use itp_time_utils::{duration_now, remaining_time};
use itp_types::parentchain::{ExchangeRateUpdated, OracleUpdated};
use itp_types::parentchain::ExchangeRateUpdated;
use log::*;
use pallet_teeracle::Event as TeeracleEvent;
use std::time::Duration;
use substrate_api_client::{ac_node_api::Phase::ApplyExtrinsic, SubscribeEvents};
use substrate_api_client::SubscribeEvents;

/// Listen to exchange rate events.
#[derive(Debug, Clone, Parser)]
Expand Down
8 changes: 3 additions & 5 deletions cli/src/oracle/commands/listen_to_oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@
*/

use crate::{command_utils::get_chain_api, trusted_operation::TrustedOperationError, Cli};
use ita_parentchain_interface::integritee::{parachain, solochain};
use crate::{command_utils::get_chain_api, Cli};
use itp_node_api::api_client::ParentchainApi;
use itp_time_utils::{duration_now, remaining_time};
use itp_types::parentchain::{OracleUpdated, ProcessedParentchainBlock};
use itp_types::parentchain::OracleUpdated;
use log::*;
use pallet_teeracle::Event as TeeracleEvent;
use std::time::Duration;
use substrate_api_client::{ac_node_api::Phase::ApplyExtrinsic, SubscribeEvents};
use substrate_api_client::SubscribeEvents;

/// Listen to exchange rate events.
#[derive(Debug, Clone, Parser)]
Expand Down

0 comments on commit 674e386

Please sign in to comment.