Merge pull request #1265 from ethereum/yann300-patch-23

Remove network check in `silentRunTx`
pull/5370/head
yann300 5 years ago committed by GitHub
commit d28e4c2b25
  1. 1
      remix-lib/src/universalDapp.js

@ -292,7 +292,6 @@ module.exports = class UniversalDApp {
* @param {Function} callback - callback.
*/
silentRunTx (tx, cb) {
if (!executionContext.isVM()) return cb('Cannot silently send transaction through a web3 provider')
this.txRunner.rawRun(
tx,
(network, tx, gasEstimation, continueTxExecution, cancelCb) => { continueTxExecution() },

Loading…
Cancel
Save