ilap / slip39-js

The javascript implementation of the SLIP39 for Shamir's Secret-Sharing for Mnemonic Codes.
MIT License
69 stars 27 forks source link

Fix broken check of share-value-lengths #19

Closed littleant closed 4 years ago

littleant commented 4 years ago

(v) => { v.length; } always returned "undefined" instead of v.length. Since the Set-size is always "1", the length-check is always passed.

ilap commented 4 years ago

Ugh, thx. I missed the return statement.