From b3685990c028d5b68834507436226ed6319b2fb3 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 10 Jan 2021 19:15:06 -0300 Subject: [PATCH] change an import, but this is meaningless. --- utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.js b/utils.js index f1b6eff..cc45b08 100644 --- a/utils.js +++ b/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 sha256 = m => secp256k1.utils.sha256(Uint8Array.from(m))