@@ -1216,12 +1216,9 @@ namespace golos {
12161216 int64_t rshares = o.weight < 0 ? -abs_rshares : abs_rshares;
12171217
12181218 if (rshares > 0 ) {
1219- if ( _db.has_hardfork (STEEMIT_HARDFORK_0_17__454 )) {
1220- FC_ASSERT (_db.head_block_time () < comment.cashout_time - STEEMIT_UPVOTE_LOCKOUT_HF17 ,
1221- " Cannot increase payout within last twelve hours before payout." );
1222- } else if (_db.has_hardfork (STEEMIT_HARDFORK_0_7 )) {
1219+ if (_db.has_hardfork (STEEMIT_HARDFORK_0_7 )) {
12231220 FC_ASSERT (_db.head_block_time () <
1224- _db.calculate_discussion_payout_time (comment) - STEEMIT_UPVOTE_LOCKOUT_HF7 ,
1221+ _db.calculate_discussion_payout_time (comment) - STEEMIT_UPVOTE_LOCKOUT ,
12251222 " Cannot increase reward of post within the last minute before payout." );
12261223 }
12271224 }
@@ -1430,12 +1427,9 @@ namespace golos {
14301427 int64_t rshares = o.weight < 0 ? -abs_rshares : abs_rshares;
14311428
14321429 if (itr->rshares < rshares) {
1433- if ( _db.has_hardfork (STEEMIT_HARDFORK_0_17__454 )) {
1434- FC_ASSERT (_db.head_block_time () < comment.cashout_time - STEEMIT_UPVOTE_LOCKOUT_HF17 ,
1435- " Cannot increase payout within last twelve hours before payout." );
1436- } else if (_db.has_hardfork (STEEMIT_HARDFORK_0_7 )) {
1430+ if (_db.has_hardfork (STEEMIT_HARDFORK_0_7 )) {
14371431 FC_ASSERT (_db.head_block_time () <
1438- _db.calculate_discussion_payout_time (comment) - STEEMIT_UPVOTE_LOCKOUT_HF7 ,
1432+ _db.calculate_discussion_payout_time (comment) - STEEMIT_UPVOTE_LOCKOUT ,
14391433 " Cannot increase reward of post within the last minute before payout." );
14401434 }
14411435 }
0 commit comments