EDIT: Issue has been resolved. A BIG THANKS to @steemchiller, creator of steemworld.org. The resourcefulness and helpfulness of Steemians still amazes me and I'll do my best to help others on here too!
Hello Steemit world,
Yesterday I messed around with delegation on steemworld.org. After confirming the delegatee and amount, I'm getting the following error:
transaction.operations = delegate_vesting_shares,[object Object] cause: delegate_vesting_shares.vesting_shares = 1023,396.149474 VESTS cause: Expecting amount like '99.000 SYMBOL', instead got '1023,396.149474 VESTS' stack: Error: Expecting amount like '99.000 SYMBOL', instead got '1023,396.149474 VESTS' at Object.appendByteBuffer (https://steemworld.org/res/steem.min.js:12:25261) at t.value (https://steemworld.org/res/steem.min.js:12:20233) at Object.appendByteBuffer (https://steemworld.org/res/steem.min.js:13:5377) at Object.appendByteBuffer (https://steemworld.org/res/steem.min.js:12:30905) at t.value (https://steemworld.org/res/steem.min.js:12:20233) at t.value (https://steemworld.org/res/steem.min.js:12:21919) at t.value (https://steemworld.org/res/steem.min.js:12:22014) at Object.d.signTransaction (https://steemworld.org/res/steem.min.js:13:26119) at https://steemworld.org/res/steem.min.js:13:26980 at i (https://steemworld.org/res/steem.min.js:1:24469) at o._settlePromiseFromHandler (https://steemworld.org/res/steem.min.js:1:18892) at o._settlePromise (https://steemworld.org/res/steem.min.js:1:19695) at o._settlePromise0 (https://steemworld.org/res/steem.min.js:1:20396) at o._settlePromises (https://steemworld.org/res/steem.min.js:1:21726) at o._fulfill (https://steemworld.org/res/steem.min.js:1:20767) at o._resolveCallback (https://steemworld.org/res/steem.min.js:1:17628) stack: Error: delegate_vesting_shares.vesting_shares = 1023,396.149474 VESTS cause: Expecting amount like '99.000 SYMBOL', instead got '1023,396.149474 VESTS' stack: Error: Expecting amount like '99.000 SYMBOL', instead got '1023,396.149474 VESTS' at Object.appendByteBuffer (https://steemworld.org/res/steem.min.js:12:25261) at t.value (https://steemworld.org/res/steem.min.js:12:20233) at Object.appendByteBuffer (https://steemworld.org/res/steem.min.js:13:5377) at Object.appendByteBuffer (https://steemworld.org/res/steem.min.js:12:30905) at t.value (https://steemworld.org/res/steem.min.js:12:20233) at t.value (https://steemworld.org/res/steem.min.js:12:21919) at t.value (https://steemworld.org/res/steem.min.js:12:22014) at Object.d.signTransaction (https://steemworld.org/res/steem.min.js:13:26119) at https://steemworld.org/res/steem.min.js:13:26980 at i (https://steemworld.org/res/steem.min.js:1:24469) at o._settlePromiseFromHandler (https://steemworld.org/res/steem.min.js:1:18892) at o._settlePromise (https://steemworld.org/res/steem.min.js:1:19695) at o._settlePromise0 (https://steemworld.org/res/steem.min.js:1:20396) at o._settlePromises (https://steemworld.org/res/steem.min.js:1:21726) at o._fulfill (https://steemworld.org/res/steem.min.js:1:20767) at o._resolveCallback (https://steemworld.org/res/steem.min.js:1:17628) at Function.value (https://steemworld.org/res/steem.min.js:12:22983) at t.value (https://steemworld.org/res/steem.min.js:12:20352) at Object.appendByteBuffer (https://steemworld.org/res/steem.min.js:13:5377) at Object.appendByteBuffer (https://steemworld.org/res/steem.min.js:12:30905) at t.value (https://steemworld.org/res/steem.min.js:12:20233) at t.value (https://steemworld.org/res/steem.min.js:12:21919) at t.value (https://steemworld.org/res/steem.min.js:12:22014) at Object.d.signTransaction (https://steemworld.org/res/steem.min.js:13:26119) at https://steemworld.org/res/steem.min.js:13:26980 at i (https://steemworld.org/res/steem.min.js:1:24469) at o._settlePromiseFromHandler (https://steemworld.org/res/steem.min.js:1:18892) at o._settlePromise (https://steemworld.org/res/steem.min.js:1:19695) at o._settlePromise0 (https://steemworld.org/res/steem.min.js:1:20396) at o._settlePromises (https://steemworld.org/res/steem.min.js:1:21726) at o._fulfill (https://steemworld.org/res/steem.min.js:1:20767) at o._resolveCallback (https://steemworld.org/res/steem.min.js:1:17628)
I tried changing the amount for the delegation and got a different error:
Also tried searching for a solution on Steemit with no success. Anyone know what's causing these errors? Suggestions and comments would be greatly appreciated! Thanks in advance for your help!
The ',' is not accepted by the steem api and therefore I replace it with '' (empty) before the value is being sent. Which browser are you using?
Chrome. Hmm, I don't believe i used a ',' as I was trying to delegate 500. I tried "500", "500.000" both didn't work. Tried a smaller amount and got the second error.
The ',' is used for display purposes only. The SP you entered is being converted to 'VESTS' and the resulting value will be used. That's the first time I hear of a problem regarding the delegation but I will look into it ;)
I've used it myself on Firefox with many different values without any issues. Will try it on Chrome.
Awesome, thank you. Appreciate the quick response, looking forward to your reply. I'll try on Firefox in a sec.
EDIT: Same error in Firefox. I do notice there are commas in the VEST field, but those cannot be edited as it is calculated based on the SP I input.
I've tested it on Chrome without any problems :) So it must have a different cause... Are you using your private active key? If we can't find a solution I can temporarily change the logic a bit so that the value won't get formatted with ','
Edit:
Please try it again and make a screenshot of the "Edit Delegation" form. I want to see the value in the VESTS field.
I've tested multiple times, but mostly with my public active key. Still got an error with the private. I'm assuming I should be using my private active key then?
EDIT: Same error with private key with Chrome.
Okay, now I know the reason! Thanks for your help to find it. I will edit this comment when I've fixed it. Yes, only the private key will work.
Edit:
Should be fixed. Please refresh the page and try again ;)
You got a 14.07% upvote from @mercurybot courtesy of @dirkboy41!
Good post
This post has received a 1.75 % upvote from @boomerang thanks to: @dirkboy41
Congratulations @dirkboy41! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP