bring back @noble/secp256k1 along with micro-bip32.

This commit is contained in:
fiatjaf
2021-12-31 22:47:43 -03:00
parent 16536340e5
commit 01dd5b7a3c
5 changed files with 13 additions and 33 deletions

View File

@@ -118,7 +118,7 @@ export function relayPool() {
event.tags = event.tags || []
if (globalPrivateKey) {
event.sig = signEvent(event, globalPrivateKey)
event.sig = await signEvent(event, globalPrivateKey)
} else {
throw new Error(
"can't publish unsigned event. either sign this event beforehand or pass a private key while initializing this relay pool so it can be signed automatically."