|
specific_vote["ROI"] = float(curation_reward["active_votes"][voter["name"]]) / float(voter.get_voting_value_SBD(voting_weight=specific_vote["percent"] / 100)) * 100 |
In this line, I am getting the error:
TypeError: unsupported operand type(s) for /: 'str' and 'int'
I think you need to convert specific_vote["percent"] to float before dividing.