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
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
returnutils._fireError(newError('Transaction was not mined within 50 blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!'),defer.eventEmitter,defer.reject);
373
+
// check to see if we are http polling
374
+
if(!!isPolling){
375
+
// polling timeout is different than TIMEOUTBLOCK blocks since we are triggering every second
376
+
if(timeoutCount-1>=POLLINGTIMEOUT){
377
+
sub.unsubscribe();
378
+
promiseResolved=true;
379
+
returnutils._fireError(newError('Transaction was not mined within'+POLLINGTIMEOUT+' seconds, please make sure your transaction was properly sent. Be aware that it might still be mined!'),defer.eventEmitter,defer.reject);
380
+
}
381
+
}else{
382
+
if(timeoutCount-1>=TIMEOUTBLOCK){
383
+
sub.unsubscribe();
384
+
promiseResolved=true;
385
+
returnutils._fireError(newError('Transaction was not mined within 50 blocks, please make sure your transaction was properly sent. Be aware that it might still be mined!'),defer.eventEmitter,defer.reject);
0 commit comments