RE: Creating Your First Program On The Steemit Network Using Steem-Python #BeginnerMode - TUTORIAL

You are viewing a single comment's thread from:

Creating Your First Program On The Steemit Network Using Steem-Python #BeginnerMode - TUTORIAL

in steemdev •  7 years ago 

ValueError: You need to provide a voter account

Solution:

vote(self, identifier, weight, account=None):

Vote function requires the account name, so modify the code as shown below,

s.vote('@benniebanana/creating-your-first-program-on-the-steemit-network-using-steem-python-beginnermode-tutorial', 100.0,'xyz')

where 'xyz' is the voter's account name.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!