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

Remove network check in `silentRunTx`
pull/7/head
yann300 5 years ago committed by GitHub
commit 9a0c7935f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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