Corrections in the example for Transferring funds with the sample "currency" contract
Hello dear fellow EOS enthousiasts, if you build eosd and you try to run the sample contract: Transfering funds with the sample "currency" contract
You will get this error:
Change #1 proposed
The suggested message is erroneous:
./eosc push message currency transfer '{"from":"currency","to":"inita","quantity":50}' --scope currency,inita --permission currency@active
The error in red does hint at what is wrong. So kudos to @dan 's team for making the errors meaningful.
The "missing field in variant object: Missing 'amount' in variant object" gave me the inspiration to change the contract a little to this:
./eosc push message currency transfer '{"from":"currency","to":"inita","amount":50}' --scope currency,inita --permission currency@active
So for this contract, it not quantity anymore, it is amount. And it worked from there.
Change #2 proposed:
Transfering takes two "r" so the subheader of this section should read like this:
Transferring funds with the sample "currency" contract
Have a great day and let's keep making @eosio better everyday!
Posted on Utopian.io - Rewarding Open Source Contributors
Thks @helo for the correction. U are really making our future great.
Hey @helo I am @utopian-io. I have just upvoted you!
Achievements
Suggestions
Get Noticed!
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
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
@ering has voted on behalf of @minnowpond.
If you would like to recieve upvotes from minnowponds team on all your posts, simply FOLLOW @minnowpond.
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]