Skip to content

Commit

Permalink
style: Formatting & minor linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilMihaylov committed Mar 31, 2023
1 parent f2403f8 commit 58a0200
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions contracts/oracle/src/contract/oracle/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,11 @@ where
where
OracleBase: Currency + DeserializeOwned,
{
let prices = self
.calc_all_prices(storage, block_time)?
self.calc_all_prices(storage, block_time)?
.try_fold(vec![], |mut v, price| {
v.push(price?.into());
Ok(v)
});
prices
})
}

pub(super) fn try_query_price(
Expand Down

0 comments on commit 58a0200

Please sign in to comment.