Skip to content

Commit 575271a

Browse files
committed
bool
1 parent 5d28dab commit 575271a

File tree

1 file changed

+1
-2
lines changed
  • pallets/pallet-bonded-coins/src

1 file changed

+1
-2
lines changed

pallets/pallet-bonded-coins/src/mock.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,13 @@ pub mod runtime {
7878
pub fn generate_pool_details(
7979
currencies: Vec<AssetId>,
8080
curve: Curve<Float>,
81-
transferable: Option<bool>,
81+
transferable: bool,
8282
state: Option<PoolStatus<Locks>>,
8383
manager: Option<AccountId>,
8484
collateral_id: Option<AssetId>,
8585
owner: Option<AccountId>,
8686
) -> PoolDetailsOf<Test> {
8787
let bonded_currencies = BoundedVec::truncate_from(currencies);
88-
let transferable = transferable.unwrap_or(false);
8988
let state = state.unwrap_or(PoolStatus::Active);
9089
let owner = owner.unwrap_or(ACCOUNT_99);
9190
let collateral_id = collateral_id.unwrap_or(DEFAULT_COLLATERAL_CURRENCY_ID);

0 commit comments

Comments
 (0)