From 4bfa44347747ea2519a9410c4d7116ee6fdd60d4 Mon Sep 17 00:00:00 2001 From: cdamian <17934949+cdamian@users.noreply.github.com> Date: Tue, 7 Nov 2023 14:22:32 +0100 Subject: [PATCH] investments: Remove commented code --- pallets/investments/src/lib.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pallets/investments/src/lib.rs b/pallets/investments/src/lib.rs index a7a482bad3..7998d3724d 100644 --- a/pallets/investments/src/lib.rs +++ b/pallets/investments/src/lib.rs @@ -613,18 +613,6 @@ impl Pallet { 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) },