From 3e2e052835ed9ad282ebe917e4e182a0ccaff358 Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 20 Aug 2019 09:34:32 +0200 Subject: [PATCH] remove network check in `silentRunTx` --- remix-lib/src/universalDapp.js | 1 - 1 file changed, 1 deletion(-) diff --git a/remix-lib/src/universalDapp.js b/remix-lib/src/universalDapp.js index ff4216cc87..253a87a09a 100644 --- a/remix-lib/src/universalDapp.js +++ b/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() },