Unverified Commit 3e2e0528 authored by yann300's avatar yann300 Committed by GitHub

remove network check in `silentRunTx`

parent 24bfa5a6
...@@ -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