Browse Source

council - minor conditions simplification II

ondratra 4 years ago
parent
commit
b5e00c0f7c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      runtime-modules/council/src/lib.rs

+ 1 - 1
runtime-modules/council/src/lib.rs

@@ -681,7 +681,7 @@ impl<T: Trait> Module<T> {
 
                 // depleted budget or no accumulated reward to be paid?
                 if balance == 0.into() || unpaid_reward == 0.into() {
-                    // no need to save anything because unpaid_reward will be recalculated next time rewards are paid
+                    // no need to update council member record here their; unpaid reward will be recalculated next time rewards are paid
 
                     // emit event
                     Self::deposit_event(RawEvent::RewardPayment(