pull/5370/head
Aniket-Engg 2 years ago
parent fc6bfda317
commit 9e1b0fce53
  1. 2
      apps/remix-ide/src/blockchain/providers/vm.js

@ -50,7 +50,6 @@ class VMProvider {
} else { } else {
reject(new Error(msg.data.error)) reject(new Error(msg.data.error))
} }
}
} else if (msg.data.cmd === 'newAccountResult') { } else if (msg.data.cmd === 'newAccountResult') {
if (this.newAccountCallback[msg.data.stamp]) { if (this.newAccountCallback[msg.data.stamp]) {
this.newAccountCallback[msg.data.stamp](msg.data.error, msg.data.result) this.newAccountCallback[msg.data.stamp](msg.data.error, msg.data.result)
@ -59,6 +58,7 @@ class VMProvider {
} }
}) })
this.worker.postMessage({ cmd: 'init', fork: this.executionContext.getCurrentFork(), nodeUrl: provider?.options['nodeUrl'], blockNumber: provider?.options['blockNumber']}) this.worker.postMessage({ cmd: 'init', fork: this.executionContext.getCurrentFork(), nodeUrl: provider?.options['nodeUrl'], blockNumber: provider?.options['blockNumber']})
})
} }
// TODO: is still here because of the plugin API // TODO: is still here because of the plugin API

Loading…
Cancel
Save