We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d28dab commit 575271aCopy full SHA for 575271a
pallets/pallet-bonded-coins/src/mock.rs
@@ -78,14 +78,13 @@ pub mod runtime {
78
pub fn generate_pool_details(
79
currencies: Vec<AssetId>,
80
curve: Curve<Float>,
81
- transferable: Option<bool>,
+ transferable: bool,
82
state: Option<PoolStatus<Locks>>,
83
manager: Option<AccountId>,
84
collateral_id: Option<AssetId>,
85
owner: Option<AccountId>,
86
) -> PoolDetailsOf<Test> {
87
let bonded_currencies = BoundedVec::truncate_from(currencies);
88
- let transferable = transferable.unwrap_or(false);
89
let state = state.unwrap_or(PoolStatus::Active);
90
let owner = owner.unwrap_or(ACCOUNT_99);
91
let collateral_id = collateral_id.unwrap_or(DEFAULT_COLLATERAL_CURRENCY_ID);
0 commit comments