tiny-secp256k1
tiny-secp256k1 copied to clipboard
validate type can be typed array or buffer
Not sure if this is desirable and not really clear to me how tiny-secp256k1 is validating in other environments, but this resolves #136 for me. At some level though it makes sense that if bitcoinjs-lib passes the ecc library a Buffer but it's expecting explicitly an Uint8Array that that might be a problem.