use the remix-simulator provider

pull/5370/head
yann300 4 years ago
parent 3e806adacb
commit a5d88055eb
  1. 5
      apps/remix-ide/src/blockchain/blockchain.js

@ -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()
}

Loading…
Cancel
Save