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
varprivateKey=newbitcore.PrivateKey('5KYZdUEo39z3FPrtuX2QbbwGnNP5zTd7yyr2SC1j299sBCnWjss');varmessage=newMessage('This is an example of a signed message.');varsignature=message.sign(privateKey);varverified=message.verify(privateKey.toAddress(),signature);
This code throws an error:
The problem: https://github.com/bitpay/bitcore/blob/master/lib/crypto/signature.js#L35
The text was updated successfully, but these errors were encountered: