Steem Wallet Tools - Fixing 3 Decimal Errors

in #busy5 years ago

@onepercentbetter contacted me and said he can't get the Steem Wallet to work and it throws the following error message:

VM371:53 {code: -32003, message: "Assert Exception:decimals == 3: Incorrect decimal places", data: {…}, digest:

From the error message, it appears that the amount of SBD/STEEM he entered in the textbox is not exactly 3 decimal places and that is why the steem.broadcast.transfer complains and fails to transfer as requested.

The Fix is rather straightward, just putting a .toFixed(3) to the amount and the tool is good again. You will also notice the err.Message is shown in the message box as well as in the console via console.log.

image.png

Steem Wallet Tool

https://steemyy.com/wallet/


Enjoy and Steem On!

Delegate to @justyy

@justyy runs a automatic delegation service for nearly a year now. Delegate to @justyy for at least 5 SP and start receiving daily payout as interests (from 8% to 10% APR). Also, as a supporter, the delegators will start to receive complimentary/curation upvotes (as a thank you) per day from e.g @justyy and a few other curation trails. For more information, read this. The voting weight algorithm is open source.

image.png

Please note that the SP you enter is the final amount to delegate. For example, if you already delegate 10 SP and you want to delegate another 5 SP, you will need to enter 15 SP (instead of 5 SP) in the delegation form.

Vote for me or Set me as a witness Proxy - Every vote counts! - Thank you!

Your Vote is much appreciated, and every vote counts.

Check out My Witness Page

Support me and my work as a witness - witness thread by

  1. voting me here, or
  2. voting me as a witness proxy - let @justyy represent you.

Thank you! Some of My Contributions: SteemYY.com - SteemIt Tutorials, Robots, Tools and APIs and VPS Search Tool

Sort:  

Hello! Your post has been resteemed and upvoted by @ilovecoding because we love coding! Keep up good work! Consider upvoting this comment to support the @ilovecoding and increase your future rewards! ^_^ Steem On!

Reply !stop to disable the comment. Thanks!

Lovely, thanks @justyy!

Posted using Partiko iOS

thank for you help ! =) good contribution

Hi @justyy!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 6.884 which ranks you at #94 across all Steem accounts.
Your rank has not changed in the last three days.

In our last Algorithmic Curation Round, consisting of 251 contributions, your post is ranked at #147.

Evaluation of your UA score:
  • You've built up a nice network.
  • The readers like your work!
  • Try to work on user engagement: the more people that interact with you via the comments, the higher your UA score!

Feel free to join our @steem-ua Discord server

Coin Marketplace

STEEM 0.29
TRX 0.11
JST 0.033
BTC 63901.15
ETH 3133.40
USDT 1.00
SBD 4.05