Skip to content
Snippets Groups Projects
Commit 9bbe6d81 authored by yamadapc's avatar yamadapc
Browse files

Fix test-vote example

parent 9881c31e
No related branches found
No related tags found
No related merge requests found
const steem = require('../lib'); const steem = require('../lib');
const username = process.env.STEEM_USERNAME; const username = 'guest123';
const password = process.env.STEEM_PASSWORD; const wif = '5JRaypasxMx1L97ZUX7YuC5Psb5EAbF821kkAGtBj7xCJFQcbLg';
const wif = steem.auth.toWif(username, password, 'posting');
steem steem
.broadcast .broadcast
.upvote( .vote(
wif, wif,
username, username,
'yamadapc', 'yamadapc',
'test-post-bop-1-2-3-4-5-6', 'test-post-bop-1-2-3-4-5-6',
null, 1,
function(err, result) { function(err, result) {
console.log(err, result); console.log(err, result);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment