We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I set allow_votes to false in the comment_options I expect that it is no longer possible to vote on a comment.
allow_votes
Right now everytime you try this you will receive tx_missing_posting_auth. For a full stack trace check this link: https://pastebin.com/RUzxZABX
tx_missing_posting_auth
I wrote a small script which uses busys test account guest123 to demonstrate this bug:
let steem = require("steem"); let username = 'guest123'; let postingWif = '5JRaypasxMx1L97ZUX7YuC5Psb5EAbF821kkAGtBj7xCJFQcbLg'; let permlink = new Date().toISOString().replace(/[^a-zA-Z0-9]+/g, '').toLowerCase(); let commentData = { parent_author: '', parent_permlink: 'test', author: username, permlink: permlink, title: "test", body: "this is a test", json_metadata: JSON.stringify({}) }; const comment = ['comment', commentData] const commentOptionsData = { author: username, permlink: permlink, allow_votes: false, max_accepted_payout: '1000000.000 SBD', percent_steem_dollars: 10000, allow_curation_rewards: false, extensions: [] }; const commentOptions = ['comment_options', commentOptionsData]; steem.broadcast.send({operations: [comment, commentOptions]}, {posting: postingWif}, (err, result) => { console.log(JSON.stringify(err), result); });
I tested it with the latest version of nodeJS on my Mac (v10.14) and on one of my servers running Ubuntu 16.04
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behavior
When I set
allow_votes
to false in the comment_options I expect that it is no longer possible to vote on a comment.Actual behavior
Right now everytime you try this you will receive
tx_missing_posting_auth
. For a full stack trace check this link: https://pastebin.com/RUzxZABXHow to reproduce
I wrote a small script which uses busys test account guest123 to demonstrate this bug:
Environment information
I tested it with the latest version of nodeJS on my Mac (v10.14) and on one of my servers running Ubuntu 16.04
The text was updated successfully, but these errors were encountered: