Skip to content

Commit

Permalink
investments: Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
cdamian committed Nov 7, 2023
1 parent 68698bc commit 4bfa443
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pallets/investments/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -613,18 +613,6 @@ impl<T: Config> Pallet<T> {
if amount.is_zero() {
*maybe_order = None;
}
// else {
// // nuno: check that this is ok. Amount == 0 removes the order, so
// // there's no point in processing a transfer of 0 which fails because it
// // would kill the account (< ED)
// Self::do_update_redeem_order(
// total_order,
// &who,
// investment_id,
// order,
// amount,
// )?;
// }

Ok(cur_order_id)
},
Expand Down

0 comments on commit 4bfa443

Please sign in to comment.