From 9f0b23122f3acb0e0d717cd6204a5f395e1a2a1b Mon Sep 17 00:00:00 2001 From: pbattu123 Date: Mon, 28 Oct 2019 10:46:10 -0300 Subject: [PATCH] comments updated --- libraries/chain/db_maint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/chain/db_maint.cpp b/libraries/chain/db_maint.cpp index 9aa684f6..5c7e7f5c 100644 --- a/libraries/chain/db_maint.cpp +++ b/libraries/chain/db_maint.cpp @@ -781,8 +781,8 @@ double database::calculate_vesting_factor(const account_object& stake_account) if(current_subperiod == 0 || current_subperiod > number_of_subperiods) return 0; - // On starting new vesting period, all votes become zero until some one votes, To avoid a situation of zero votes, - // changes done to roll in GPOS rules, the vesting factor will be 1 for who ever votes in 6th sub-period of last vesting period + // On starting new vesting period, all votes become zero until someone votes, To avoid a situation of zero votes, + // changes were done to roll in GPOS rules, the vesting factor will be 1 for whoever votes in 6th sub-period of last vesting period // BLOCKBACK-174 fix if(current_subperiod == 1 && this->head_block_time() >= HARDFORK_GPOS_TIME + vesting_period) //Applicable only from 2nd vesting period {