Closed therealwolf42 closed 5 years ago
Line 37 in 0571d3f
sbd_print_percentage = t.sbd_print_rate / 10000
Awesome, thanks for the clarification.
No problem :)
In my last PR I forgot something useful you might want update (since your PR has not been accepted yet).
I would do it myself, but since @MattyIce seems pretty busy I would rather suggest it to you.
By updating the version we can check via API whether bot owners are running the latest patch.
@AusPrinzip interesting, but I'm not using post promoter, so a version number won't mean anything in that case.
The dsteem 'get_reward_fund' method you are applying in the new proposed function 'getVoteValueUSD' doesn't return a 'sbd_print_rate' attribute.
Just tested and the returned object is as follows: