Skip to content

Commit

Permalink
fix committee check for approve_min_shares
Browse files Browse the repository at this point in the history
  • Loading branch information
On1x committed Oct 9, 2018
1 parent ba17087 commit 3c953ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/database.cpp
Expand Up @@ -1336,7 +1336,7 @@ namespace graphene { namespace chain {
actual_rshares+=voter_account.effective_vesting_shares().amount.value*cur_vote.vote_percent/CHAIN_100_PERCENT;
}
approve_min_shares=props.total_vesting_shares.amount * consensus.median_props.committee_request_approve_min_percent / CHAIN_100_PERCENT;
if(approve_min_shares <= max_rshares){
if(approve_min_shares > max_rshares){
modify(cur_request, [&](committee_request_object &c) {
c.conclusion_time = head_block_time();
c.status = 2;
Expand Down

0 comments on commit 3c953ca

Please sign in to comment.