Commit d0934846 authored by yann300's avatar yann300

use the remix-simulator provider

parent cf9e5efc
......@@ -228,6 +228,11 @@ class Blockchain {
}
web3 () {
// @todo(https://github.com/ethereum/remix-project/issues/431)
const isVM = this.getProvider() === 'vm'
if (isVM) {
return this.providers.vm.web3
}
return this.executionContext.web3()
}
......
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