From: Chris Duncan Date: Mon, 1 Dec 2025 06:17:24 +0000 (-0800) Subject: Remove point check since its no longer a class and rely instead on typings. X-Git-Tag: v0.11.0~12^2~5 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=33173d2e12ef790fbecc3f9803255d9b253b467e;p=libnemo.git Remove point check since its no longer a class and rely instead on typings. --- diff --git a/src/lib/crypto/secp256k1.ts b/src/lib/crypto/secp256k1.ts index 0c48cbc..ad71f0c 100644 --- a/src/lib/crypto/secp256k1.ts +++ b/src/lib/crypto/secp256k1.ts @@ -244,7 +244,6 @@ export class Secp256k1 { return fn } static hash = (msg: Bytes): Bytes => this.callHash('sha256')(msg) - static apoint = (p: unknown) => (p instanceof this.Point ? p : this.err('Point expected')) // ## End of Helpers // -----------------