Steem challenger is a project created by omeratagun, one of our supervisor; for the people who posts via utopian, dmania, dlive and many other projects which includes beneficaries to calculate rewards.
Expected behavior
Possible rewards for posts created by users should be calculated.
Actual behavior
Reward for resteemed posts are also calculated.
How to reproduce
- Go to http://omeratagun.tk
- In the field with placeholder "Your username", introduce your username
- Press enter or the button "Give it to me"
- Check the username on the results table
- Resteem one post with high reward (pending one)
- Go to http://omeratagun.tk
- In the field with placeholder "Your username", introduce your username
- Press enter or the button "Give it to me"
- Check the username on the results table
You will see that there is difference. (Rewards for resteemed posts are also calculated)
How to fix
and ($author==$meme)){
should be added to the source code. I also send a pull request to fix the problem. You can find the pull request clicking here.
Posted on Utopian.io - Rewarding Open Source Contributors