File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments