Skip to content

Commit

Permalink
switch from steem password to posting key
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzivenu committed Oct 1, 2018
1 parent f0cb6c8 commit 851d5ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sample.env
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#bot settings
BOT_ACCOUNT=XXXX
BOT_KEY=XXXX
BOT_POSTING_KEY=XXXX
BOT_INTERVAL=XXXX
UPDATE_BOT_GLOBALS_INTERVAL_MINUTES=XXXX

Expand Down
2 changes: 1 addition & 1 deletion src/app/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = async function (app) {
bot_account = results.bot_account;
bot_holiday = results.bot_holiday;

key = dsteem.PrivateKey.fromLogin(bot_account, process.env.BOT_KEY, 'posting');
key = dsteem.PrivateKey.fromString(process.env.BOT_POSTING_KEY);

//set global steem values

Expand Down

0 comments on commit 851d5ea

Please sign in to comment.