Remove extra semicolon

This commit is contained in:
Elliot Lee
2017-11-10 15:06:15 -08:00
parent 7304ee46d6
commit d22ca7f263

View File

@@ -78,7 +78,7 @@ function deriveKeypair(seed, options) {
const messageToVerify = hash('This test message should verify.') const messageToVerify = hash('This test message should verify.')
const signature = method.sign(messageToVerify, keypair.privateKey) const signature = method.sign(messageToVerify, keypair.privateKey)
if (method.verify(messageToVerify, signature, keypair.publicKey) !== true) { if (method.verify(messageToVerify, signature, keypair.publicKey) !== true) {
throw new Error('derived keypair did not generate verifiable signature'); throw new Error('derived keypair did not generate verifiable signature')
} }
return keypair return keypair
} }