steem-python
steem-python copied to clipboard
The voting power returned from Python library is inconsistent with steemd
I have found a potential bug in Steem Python library. The voting power returned from Python library is inconsistent from the VP returned from steemd.com. For example, I ran the Python script to get my VP:
#!/usr/bin/env python
from steem.account import Account
account = Account("yuxid")
print("VP: %s" % account.voting_power())
At the time of testing, it returns:
VP: 43.48
However, it shows 59.39% in steemd

Posted on Utopian.io - Rewarding Open Source Contributors
That is actually correct behaviour. :) The VP value is only updated when you vote, so with the python query you get that value. The value on Steemd.com takes VP recovery into account and shows the actual value as if you would vote at that moment. Hope that explains.