pull/747/head
yann300 4 years ago
parent 4facb863e0
commit b5f821e5fe
  1. 2
      libs/remix-lib/src/execution/txRunnerWeb3.ts

@ -141,7 +141,7 @@ async function tryTillTxAvailable (txhash, web3) {
const tx = await web3.eth.getTransaction(txhash) const tx = await web3.eth.getTransaction(txhash)
if (tx) return tx if (tx) return tx
} catch (e) {} } catch (e) {}
return await tryTillTxAvailable(txhash, web3) return await tryTillTxAvailable(txhash, web3)
} }
async function pause () { return new Promise((resolve, reject) => { setTimeout(resolve, 500) }) } async function pause () { return new Promise((resolve, reject) => { setTimeout(resolve, 500) }) }

Loading…
Cancel
Save