EOSIO / eosjs-ecc

Elliptic curve cryptography functions: Private Key, Public Key, Signature, AES, Encryption, Decryption
288 stars 119 forks source link

Wrong syntax when using 'assert' #24

Closed luoyhang003 closed 6 years ago

luoyhang003 commented 6 years ago

https://github.com/EOSIO/eosjs-ecc/blob/dfa56afa6e28b93f9bce1b3b27ab8758589043c0/src/key_private.js#L138

There should not be 3 parameters in calling assert function.

jcalfee commented 6 years ago

thank you!