Steem Challenger - Bug Hunting + Bug Fixing

in utopian-io •  7 years ago  (edited)

steemchallenger.png

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.

onursonuc2.png

Actual behavior

Reward for resteemed posts are also calculated.

onur1sonuc.png

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

fixed part.png

 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

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!
Sort Order:  

Thank you for the contribution. It has been approved.

  • I am so glad that you found the issue and adressed very well in your bug hunting post. I appreciate your work!

You can contact us on Discord.
[utopian-moderator]

Thank you sir! Thanks also for your comment.

Hey @onurkahveci I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x