Revert votes needs to just revert a user's votes, not use votes from the current vote pool - so on an eval proposal, a revert does not consume votes. It just reverts a yes to a no with the same number of votes.
Fixes #369 for proposals.
Note
Was a bit tricky with vote delegation but I modified the unit tests for reversal of notes so have some confidence it works.
also implemented for delegation
What
Revert votes needs to just revert a user's votes, not use votes from the current vote pool - so on an eval proposal, a revert does not consume votes. It just reverts a yes to a no with the same number of votes.
Fixes #369 for proposals.
Note
Was a bit tricky with vote delegation but I modified the unit tests for reversal of notes so have some confidence it works.
Contracts
proposals
No other contracts affected