Remove seedFromPhrase (unused) (#81)

This commit is contained in:
Elliot Lee
2020-01-21 13:47:46 -08:00
parent 92d6da321c
commit f1a4af4170

View File

@@ -29,12 +29,4 @@ function computePublicKeyHash(publicKeyBytes: Buffer): Buffer {
return Buffer.from(hash160)
}
function seedFromPhrase(phrase) {
return hashjs
.sha512()
.update(phrase)
.digest()
.slice(0, 16)
}
export { bytesToHex, hexToBytes, computePublicKeyHash, seedFromPhrase }
export { bytesToHex, hexToBytes, computePublicKeyHash }