mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 04:05:52 +00:00
Remove extra semicolon
This commit is contained in:
@@ -78,7 +78,7 @@ function deriveKeypair(seed, options) {
|
||||
const messageToVerify = hash('This test message should verify.')
|
||||
const signature = method.sign(messageToVerify, keypair.privateKey)
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user