diff --git a/src.ts/crypto/signing-key.ts b/src.ts/crypto/signing-key.ts index d92f5e9c7d..bc01021583 100644 --- a/src.ts/crypto/signing-key.ts +++ b/src.ts/crypto/signing-key.ts @@ -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); }