Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Nov 19, 2024
1 parent ff02de3 commit d7e6bbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/ain-ocean/src/api/prices.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use super::{
use crate::{
error::{ApiError, OtherSnafu},
model::{
BlockContext, OracleIntervalSeconds, OraclePriceActive, OraclePriceActiveNextOracles,
BlockContext, OracleIntervalSeconds, OraclePriceActive,
OraclePriceAggregatedIntervalAggregated, PriceTicker,
},
storage::{RepositoryOps, SortOrder},
Expand Down
2 changes: 1 addition & 1 deletion lib/ain-ocean/src/indexer/loan_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use rust_decimal::{prelude::Zero, Decimal};
use rust_decimal_macros::dec;

use crate::{
indexer::{Context, Index, IndexBlockEnd, Result},
indexer::{Context, Index, Result},
model::{BlockContext, OraclePriceActive, OraclePriceActiveNext, OraclePriceAggregated},
network::Network,
storage::{RepositoryOps, SortOrder},
Expand Down
2 changes: 1 addition & 1 deletion lib/ain-ocean/src/indexer/poolswap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use rust_decimal::Decimal;
use rust_decimal_macros::dec;
use snafu::OptionExt;

use super::{Context, IndexBlockStart};
use super::Context;
use crate::{
error::{ArithmeticOverflowSnafu, ArithmeticUnderflowSnafu, Error, NotFoundKind},
indexer::{tx_result, Index, Result},
Expand Down

0 comments on commit d7e6bbd

Please sign in to comment.