remove unnecessary normalizeURL() call that can throw sometimes.

This commit is contained in:
fiatjaf
2025-08-01 14:11:19 -03:00
parent 87f2c74bb3
commit 4bb3eb2d40
2 changed files with 1 additions and 3 deletions

View File

@@ -140,8 +140,6 @@ export class AbstractSimplePool {
// open a subscription in all given relays
const allOpened = Promise.all(
requests.map(async ({ url, filter }, i) => {
url = normalizeURL(url)
let relay: AbstractRelay
try {
relay = await this.ensureRelay(url, {