Skip to content

Commit e2f10e0

Browse files
author
David White
committed
Fix typo
1 parent 2d66b0d commit e2f10e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ZelBack/src/services/fluxportControllerService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ async function getApiPort() {
2121

2222
if (!(gossipServer)) reject(new Error('gossipServer not ready'));
2323

24-
const timeout = setTimeout(() => reject(new Error('Timeout waiting for port'), GOSSIPSERVER_TIMEOUT * 1000));
24+
const timeout = setTimeout(() => reject(new Error('Timeout waiting for port')), GOSSIPSERVER_TIMEOUT * 1000);
2525

2626
gossipServer.once('portConfirmed', (port) => {
2727
clearTimeout(timeout);
@@ -36,7 +36,7 @@ function getRouterIp() {
3636

3737
if (!(gossipServer)) reject(new Error('gossipServer not ready'));
3838

39-
const timeout = setTimeout(() => reject(new Error('Timeout waiting for ip'), GOSSIPSERVER_TIMEOUT * 1000));
39+
const timeout = setTimeout(() => reject(new Error('Timeout waiting for ip')), GOSSIPSERVER_TIMEOUT * 1000);
4040

4141
gossipServer.once('routerIpConfirmed', (ip) => {
4242
clearTimeout(timeout);

0 commit comments

Comments
 (0)