mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-11 01:28:51 +00:00
change an import, but this is meaningless.
This commit is contained in:
2
utils.js
2
utils.js
@@ -1,4 +1,4 @@
|
|||||||
import secp256k1 from 'noble-secp256k1'
|
import * as secp256k1 from 'noble-secp256k1'
|
||||||
|
|
||||||
export const makeRandom32 = () => secp256k1.utils.randomPrivateKey()
|
export const makeRandom32 = () => secp256k1.utils.randomPrivateKey()
|
||||||
export const sha256 = m => secp256k1.utils.sha256(Uint8Array.from(m))
|
export const sha256 = m => secp256k1.utils.sha256(Uint8Array.from(m))
|
||||||
|
|||||||
Reference in New Issue
Block a user