We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0248cad commit 1a7446eCopy full SHA for 1a7446e
substrate/frame/delegated-staking/src/lib.rs
@@ -517,12 +517,6 @@ impl<T: Config> Pallet<T> {
517
amount
518
};
519
520
- // ensure amount is at least minimum to delegate.
521
- ensure!(
522
- new_delegation_amount >= T::Currency::minimum_balance(),
523
- Error::<T>::NotEnoughFunds
524
- );
525
-
526
Delegation::<T>::from(agent, new_delegation_amount).save_or_kill(delegator);
527
ledger.total_delegated =
528
ledger.total_delegated.checked_add(&amount).ok_or(ArithmeticError::Overflow)?;
0 commit comments