Closed emre closed 6 years ago
This would be a breaking change for those using the value in their own calculation of the current voting power. Would be better as a new method, like current_voting_power()
I think you need .total_seconds()
instead of .seconds
? .seconds
will be wrong if the difference is larger than a day. Also it will give values >100% if the last vote is long enough in the past
Agreed both of your points. @codewithcheese @crokkon.
However, I don't mind to fix it right now since nobody in the projects reviews these. Closing this.
Related discussion: https://steemit.com/utopian-io/@yuxid/the-voting-power-returned-from-python-library-is-inconsistent-with-steemd