diff --git a/src/controllers/RelayController.ts b/src/controllers/RelayController.ts index 4137e86..860a3d4 100644 --- a/src/controllers/RelayController.ts +++ b/src/controllers/RelayController.ts @@ -282,10 +282,9 @@ export class RelayController { } // connect to all specified relays - const relayPromises = relayUrls.map((relayUrl) => { - console.log('being called from publish events') - return this.connectRelay(relayUrl) - }) + const relayPromises = relayUrls.map((relayUrl) => + this.connectRelay(relayUrl) + ) // Use Promise.allSettled to wait for all promises to settle const results = await Promise.allSettled(relayPromises)