Skip to content

Commit

Permalink
For now, allow voting after payouts for moderation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Vandeberg committed Jun 29, 2016
1 parent b6abe27 commit b70ba94
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libraries/chain/steem_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -662,9 +662,6 @@ void vote_evaluator::do_apply( const vote_operation& o )
const auto& comment = db().get_comment( o.author, o.permlink );
const auto& voter = db().get_account( o.voter );

/// no new votes after payout
FC_ASSERT( comment.last_payout == fc::time_point_sec() );

if( o.weight > 0 ) FC_ASSERT( comment.allow_votes );

const auto& comment_vote_idx = db().get_index_type< comment_vote_index >().indices().get< by_comment_voter >();
Expand Down

0 comments on commit b70ba94

Please sign in to comment.