steem-js icon indicating copy to clipboard operation
steem-js copied to clipboard

Broadcast or limitOrderCancel returns tx_missing_active_auth and does not cancel the order.

Open webivation opened this issue 7 years ago • 2 comments

Expected behavior

Limit order is canceled.

Actual behavior

Error is returned: Error: 3010000 tx_missing_active_auth: missing required active authority Missing Active Authority

How to reproduce

  1. Generate Wif using: var myWif = steem.auth.toWif(username, password, 'owner'); (Also tried with active key and 'active'.)
  2. Execute cancel for existing order: steem.broadcast.limitOrderCancel(myWif,username, 992829, function(err, result) { console.log(err, result); });

Environment information

Running in Chrome browser console using CDN version of steem-js. Chrome version is 61.0.3163.100.

webivation avatar Oct 31 '17 18:10 webivation

Does not work.

RPCError: missing required active authority:Missing Active Authority

lucydjo avatar Apr 12 '18 00:04 lucydjo

var auth = steem.auth.getPrivateKeys(user, password, ["active"]); This works for me.

BartolomeoItaliano avatar Apr 12 '18 09:04 BartolomeoItaliano