Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralt98 committed Oct 2, 2023
1 parent 3647980 commit 0295449
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion zrml/orderbook-v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ sp-io = { workspace = true, optional = true }
zrml-market-commons = { workspace = true, optional = true }

[dev-dependencies]
zrml-orderbook-v1 = { workspace = true, features = ["mock", "default"] }
test-case = { workspace = true }
zrml-orderbook-v1 = { workspace = true, features = ["mock", "default"] }

[features]
default = ["std"]
Expand Down
10 changes: 6 additions & 4 deletions zrml/orderbook-v1/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@
use crate::*;
use frame_support::traits::Currency;
use sp_runtime::traits::AccountIdConversion;
use zeitgeist_primitives::traits::MarketCommonsPalletApi;
use zeitgeist_primitives::types::{
Asset, Market, MarketCreation, MarketDisputeMechanism, MarketPeriod, MarketStatus,
MarketType, ScoringRule, Deadlines,
use zeitgeist_primitives::{
traits::MarketCommonsPalletApi,
types::{
Asset, Deadlines, Market, MarketCreation, MarketDisputeMechanism, MarketPeriod,
MarketStatus, MarketType, ScoringRule,
},
};

type CurrencyOf<T> = <<T as Config>::MarketCommons as MarketCommonsPalletApi>::Currency;
Expand Down

0 comments on commit 0295449

Please sign in to comment.