Commit 80f476db authored by Mariusz's avatar Mariusz

Cachout time is set correctly before HF17

parent e9efc87c
......@@ -2730,6 +2730,9 @@ share_type database::cashout_comment_helper( util::comment_reward_context& ctx,
c.cashout_time = fc::time_point_sec::maximum();
}
if( comment.get_parent_id() != HIVE_ROOT_POST_PARENT_ID )
c.cashout_time = calculate_discussion_payout_time( c );
c.last_payout = head_block_time();
} );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment