tokenika / secure-bp-voting

Secure EOS Block Producer Voting
https://tokenika.github.io/secure-bp-voting/
MIT License
18 stars 15 forks source link

Transaction is generated with a typo #15

Closed schabluk closed 6 years ago

schabluk commented 6 years ago

In section authorization there is "permissaion" instead of "permission":

               "authorization": [
                    {
                        "actor": "abcydgmzqhfge",
                        "permissaion": "active"
                    }
                ],
noisy commented 6 years ago

@schabluk we didn't modify a code of eos.js library, so if this error occasionally occurs, its means that it is a bug in https://github.com/eosio/eosjs

Nevertheless, could you elaborate this a little bit more? How often something like this happen?

schabluk commented 6 years ago

I have downloaded eos.js locally, maybe the file got corrupted.

noisy commented 6 years ago

@schabluk please be aware, that if you are using our instruction, you do not have to manually download eos.js, because a browser can do it for you, when you will save a page by Save as...

Please take a look on: https://github.com/tokenika/secure-bp-voting/issues/16#issuecomment-397282762

schabluk commented 6 years ago

@noisy I don't trust my browser. It could alter the content of eos.js while "Saving as" and then, the altered eos.js could generate a transaction that would clean my account, no?