Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maltekliemann committed Oct 11, 2024
1 parent 7007808 commit e6481df
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions zrml/combinatorial-tokens/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,8 @@ mod pallet {
})
.collect::<Result<Vec<_>, _>>()?;
for &position in positions.iter() {
println!("{:?}", position);
T::MultiCurrency::withdraw(position, &who, amount)?;
}
println!("after");

// Destroy/store the tokens to be split.
let merged_token = if !free_index_set.iter().any(|&i| i) {
Expand Down
2 changes: 0 additions & 2 deletions zrml/combinatorial-tokens/src/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ fn split_followed_by_merge_vertical_with_parent() {
fn split_followed_by_merge_vertical_with_parent_in_opposite_order() {
ExtBuilder::build().execute_with(|| {
let alice = Account::new(0).deposit(Asset::Ztg, _100).unwrap();
let pallet = Account::new(Pallet::<Runtime>::account_id());

let market_0 = create_market(Asset::Ztg, MarketType::Categorical(3));
let market_1 = create_market(Asset::Ztg, MarketType::Categorical(4));
Expand Down Expand Up @@ -453,7 +452,6 @@ fn split_vertical_followed_by_horizontal_split_with_parent() {
fn split_horizontal_followed_by_merge_horizontal() {
ExtBuilder::build().execute_with(|| {
let alice = Account::new(0).deposit(Asset::Ztg, _100).unwrap();
let pallet = Account::new(Pallet::<Runtime>::account_id());

let market_id = create_market(Asset::Ztg, MarketType::Categorical(3));
let amount = _1;
Expand Down

0 comments on commit e6481df

Please sign in to comment.