This commit is contained in:
boufni95 2024-09-27 18:31:44 +00:00
parent 4d4b9409e5
commit 1e9e17c39e
2 changed files with 1 additions and 1 deletions

View file

@ -46,7 +46,6 @@ export default (serverMethods: Types.ServerMethods, mainHandler: Main, nostrSett
log(ERROR, "invalid json event received", event.content) log(ERROR, "invalid json event received", event.content)
return return
} }
console.log(event)
if (event.kind === 21001) { if (event.kind === 21001) {
const offerReq = j as NofferData const offerReq = j as NofferData
mainHandler.handleNip69Noffer(offerReq, event) mainHandler.handleNip69Noffer(offerReq, event)

View file

@ -212,6 +212,7 @@ export default class Handler {
tags: [['p', data.pub]], tags: [['p', data.pub]],
} }
} else { } else {
console.log(data)
toSign = data.event toSign = data.event
if (data.encrypt) { if (data.encrypt) {
try { try {