Unverified Commit 9a0c7935 authored by yann300's avatar yann300 Committed by GitHub

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

Remove network check in `silentRunTx`
parents 24bfa5a6 3e2e0528
...@@ -292,7 +292,6 @@ module.exports = class UniversalDApp { ...@@ -292,7 +292,6 @@ module.exports = class UniversalDApp {
* @param {Function} callback - callback. * @param {Function} callback - callback.
*/ */
silentRunTx (tx, cb) { silentRunTx (tx, cb) {
if (!executionContext.isVM()) return cb('Cannot silently send transaction through a web3 provider')
this.txRunner.rawRun( this.txRunner.rawRun(
tx, tx,
(network, tx, gasEstimation, continueTxExecution, cancelCb) => { continueTxExecution() }, (network, tx, gasEstimation, continueTxExecution, cancelCb) => { continueTxExecution() },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment