]> git.codecow.com Git - libnemo.git/commitdiff
Remove point check since its no longer a class and rely instead on typings.
authorChris Duncan <chris@zoso.dev>
Mon, 1 Dec 2025 06:17:24 +0000 (22:17 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 1 Dec 2025 06:17:24 +0000 (22:17 -0800)
src/lib/crypto/secp256k1.ts

index 0c48cbcc6a5387e47fdb64c8af26d4f354d7f860..ad71f0c671f06ebf1eb360e96d1b7d161bc4c23b 100644 (file)
@@ -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
        // -----------------