From e4f559178c35b71fb96ed0029d3d9b839c7d64ff Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Fri, 2 Feb 2024 14:31:38 +0200 Subject: [PATCH] remove dead code --- lib/index.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/index.js b/lib/index.js index cd2de8e..b84481a 100644 --- a/lib/index.js +++ b/lib/index.js @@ -129,11 +129,6 @@ function initPromise(peer, config) { setTimeout(() => follow(token, accountID, cb), 100) return } - try { - } catch (err) { - cb(/**@type {Error}*/ (err)) - return - } if (!promises.has(token)) { cb(new Error('Invalid token')) return