]> git.codecow.com Git - libnemo.git/commitdiff
Typo.
authorChris Duncan <chris@zoso.dev>
Mon, 24 Nov 2025 08:53:20 +0000 (00:53 -0800)
committerChris Duncan <chris@zoso.dev>
Mon, 24 Nov 2025 08:53:20 +0000 (00:53 -0800)
src/lib/crypto/secp256k1.ts

index 8e615f908ba759c42b4aa8f331e2158d6035fa5e..e856673887a80c5d480dfbdc9736ac5d27b92610 100644 (file)
@@ -579,7 +579,7 @@ export class Secp256k1 {
                        return this.u8n(await s.sign(name, k, message))
                },
                hmacSha256: undefined as undefined | ((key: Bytes, message: Bytes) => Bytes),
-               sha256Async: async (msg: Bytes): Promise<Bytes> => this.u8n(await sthis.ubtle().digest(this._sha, msg)),
+               sha256Async: async (msg: Bytes): Promise<Bytes> => this.u8n(await this.subtle().digest(this._sha, msg)),
                sha256: undefined as undefined | ((message: Bytes) => Bytes),
        }