worker_evaluator.hpp: Explicitly cast types in signed subtraction
This commit is contained in:
parent
29b7f343a6
commit
a888c81ac4
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ namespace graphene { namespace chain {
|
||||||
return now >= work_begin_date && now <= work_end_date;
|
return now >= work_begin_date && now <= work_end_date;
|
||||||
}
|
}
|
||||||
share_type approving_stake(const vector<uint64_t>& stake_vote_tallies)const {
|
share_type approving_stake(const vector<uint64_t>& stake_vote_tallies)const {
|
||||||
return total_votes_for - total_votes_against;// stake_vote_tallies[vote_for] - stake_vote_tallies[vote_against];
|
return int64_t( total_votes_for ) - int64_t( total_votes_against );// stake_vote_tallies[vote_for] - stake_vote_tallies[vote_against];
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue