Incorrect rounding in the `ReputationMarket._calcCost()` function
The cost calculation in the ReputationMarket contract rounds based on whether the vote is positive (trust) rather than whether the action is a buy or sell. This causes rounding up when selling distrust votes, which can decrement market funds by a small amount and potentially prevent the last vote from being sold.
Ethos Reputation Market Fix Review Contest
Medium