You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, it might make sense to reraise this error on the isValidBitcoinAddress function instead of returning false as it's not that the address is invalid, but the setup is not properly initialized.
initBTCCurve
should be added toReadme.md
fileisValidBitcoinAddress
function instead of returning false as it's not that the address is invalid, but the setup is not properly initialized.We can use
getEccLib
: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/ecc_lib.js#L30 frombitcoinjs-lib
The text was updated successfully, but these errors were encountered: