You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constmsg=`Error: Could not handshake with nodes after timeout of ${this.config.connectTimeout
726
-
}ms. Could only connect to ${Object.keys(serverKeys).length} of ${this.config.bootstrapUrls.length
727
-
} nodes. Please check your network connection and try again. Note that you can control this timeout with the connectTimeout config option which takes milliseconds.`;
725
+
constmsg=`Error: Could not handshake with nodes after timeout of ${
726
+
this.config.connectTimeout
727
+
}ms. Could only connect to ${Object.keys(serverKeys).length} of ${
728
+
this.config.bootstrapUrls.length
729
+
} nodes. Please check your network connection and try again. Note that you can control this timeout with the connectTimeout config option which takes milliseconds.`;
728
730
729
731
try{
730
732
thrownewInitError({},msg);
@@ -1059,8 +1061,8 @@ export class LitCore {
1059
1061
this._epochCache.currentNumber&&
1060
1062
this._epochCache.startTime&&
1061
1063
Math.floor(Date.now()/1000)<
1062
-
this._epochCache.startTime+
1063
-
Math.floor(EPOCH_PROPAGATION_DELAY/1000)&&
1064
+
this._epochCache.startTime+
1065
+
Math.floor(EPOCH_PROPAGATION_DELAY/1000)&&
1064
1066
this._epochCache.currentNumber>=3// FIXME: Why this check?
0 commit comments