[Condenser] Fix error message when a user attempts to power down with less than the minimum required amount

in #utopian-io7 years ago (edited)

[Condenser] Fix error message when a user attempts to power down with less than the minimum required amount

image.png


Issue

When a user with less than the minimum required amount (~2SP) tries to power down it tells them it requires ~300SP to powerdown.

Solution

Change the error message to represent the current account power down minimum.

Summary

This is definitely an edge case, but there will be users with less than 2SP that attempt the power down from their account. These users will run into an error telling them it will take about 300SP to be able to begin powering down. Updating the error message is a good solution in removing confusion around the frontend error messages. It would be good to internationalize these error messages.

Credit

This development contribution has been created in response to this bug report by @cyres.

Screenshots

image

Links



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Would you please provide the link to right pull request? I will approve your post after you make that edit. Currently, it's taking me to the @cyres's post.
Thank You!!

[utopian-moderator]

Should be fixed. Though, Utopian lets you select the PR (which I do when making the submission). I just add the links for extra clarity. Might be good to display the linked PR on the frontend somehow. (Great feature suggestion for someone ;) )

Thank you for the contribution. It has been approved.

[utopian-moderator]

Really good

Hey @netuoso I am @utopian-io. I have just upvoted you at 7% Power!

Achievements

  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I want to see you often!
  • Work on your followers to increase the votes/rewards. My vote is now primarily based on that, humans rule. Good luck!
  • Wondering why other contributions got more? I introduced a competition factor. My vote is also based on how competitive the category used is.

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Vote for my Witness. Lets GROW TOGETHER!

Screen Shot 2017-11-19 at 16.54.19.png

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