From 7094efa590a0285efdcced444d0a18c8c483299f Mon Sep 17 00:00:00 2001 From: SeongChan Lee Date: Wed, 26 Jun 2019 17:51:49 +0900 Subject: [PATCH] Remove done TODO in stake module --- core/src/consensus/stake/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/src/consensus/stake/mod.rs b/core/src/consensus/stake/mod.rs index 2ad29a060c..8cfbc565da 100644 --- a/core/src/consensus/stake/mod.rs +++ b/core/src/consensus/stake/mod.rs @@ -343,9 +343,6 @@ pub fn on_term_close( (nomination_expiration, current_term + custody_period, current_term + release_period) }; - // TODO: total_slash = slash_unresponsive(headers, pending_rewards) - // TODO: pending_rewards.update(signature_reward(blocks, total_slash)) - let expired = update_candidates(state, current_term, nomination_expiration, inactive_validators)?; let released = release_jailed_prisoners(state, current_term)?;