Yup, elliptic curve library. From what I understood, it checks the validity of the key, and since STM1111111111111111111111111111111114T1Anm is not a valid key, it spits out the error. I've checked steem and steem-python for the "Invalid sequence tag" string and there's no sign of it. Only in steem-js.
I made a PR to fix this, see #288. It treats the block_signing_key as a string, not a public_key.
Didn't work, now it gives this error:
Are you sure you’re using your active key (not your signing key, posting key, or memo key) in the first argument to the updateWitness function?
Of course.
I have not been able to vote for a witness since I started Steemit :(
It's really easy, check this guide https://steemian.info/voting
Well not sure about bug reported, but I always do this and it works!
steem.api.getWitnessByAccount("drakos", function(err, res){
console.log(res);
if (res) {
steem.broadcast.witnessUpdate("5ACTIVEPRIVATEKEY", "drakos", "https://steemit.com/@drakos", "STM1111111111111111111111111111111114T1Anm", res.props, "0.000 STEEM", function(err, result) {
console.log('steem_witness_updated');
});
}
});
No luck. Tried your exact code on the latest steem-js v0.6.7 with added
console.log(err, result);
for testing, still the same error 😞Appears to be a function forcing all signatures to be valid.
Yup, elliptic curve library. From what I understood, it checks the validity of the key, and since STM1111111111111111111111111111111114T1Anm is not a valid key, it spits out the error. I've checked steem and steem-python for the "Invalid sequence tag" string and there's no sign of it. Only in steem-js.