diff --git a/src/blockchain.js b/src/blockchain.js index 0850686..f713a0b 100644 --- a/src/blockchain.js +++ b/src/blockchain.js @@ -47,8 +47,7 @@ Blockchain.connect = function(connectionList, opts, doneCb) { }); window.postMessage({ type: 'ETHEREUM_PROVIDER_REQUEST' }, '*'); - const infiniteWaitBreaker = setInterval(() => { - clearInterval(infiniteWaitBreaker); + setTimeout(() => { if (exited) { return; }