From 4187827343d185528d4a7bc90f1e89a79e6df866 Mon Sep 17 00:00:00 2001 From: Guillaume Thiolliere Date: Thu, 16 Jul 2020 13:13:12 +0200 Subject: [PATCH] fix comment (#6670) --- substrate/frame/staking/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/staking/src/lib.rs b/substrate/frame/staking/src/lib.rs index 924937bf36..f90ba176e8 100644 --- a/substrate/frame/staking/src/lib.rs +++ b/substrate/frame/staking/src/lib.rs @@ -2417,7 +2417,7 @@ impl Module { } // Lets now calculate how this is split to the nominators. - // Sort nominators by highest to lowest exposure, but only keep `max_nominator_payouts` of them. + // Reward only the clipped exposures. Note this is not necessarily sorted. for nominator in exposure.others.iter() { let nominator_exposure_part = Perbill::from_rational_approximation( nominator.value,