docs: fixed typo in error message (#4306)
This commit is contained in:
parent
dfe1eefd03
commit
b4fb1a166d
@ -180,7 +180,7 @@ export class SigningKey {
|
||||
const der = secp256k1.Signature.fromCompact(getBytesCopy(concat([ sig.r, sig.s ]))).toDERRawBytes();
|
||||
|
||||
const pubKey = secp256k1.recoverPublicKey(getBytesCopy(digest), der, sig.yParity);
|
||||
assertArgument(pubKey != null, "invalid signautre for digest", "signature", signature);
|
||||
assertArgument(pubKey != null, "invalid signature for digest", "signature", signature);
|
||||
|
||||
return hexlify(pubKey);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user