Merge pull request #2391 from bmcd87/patch-1

Fixes bug in network.getEndpoint()
pull/5370/head
yann300 5 years ago committed by GitHub
commit 4e5d4d4b25
  1. 2
      src/app/tabs/network-module.js

@ -55,7 +55,7 @@ export class NetworkModule extends Plugin {
if (provider !== 'web3') {
throw new Error('no endpoint: current provider is either injected or vm')
}
return provider.web3().currentProvider.host
return executionContext.web3().currentProvider.host
}
/** Add a custom network to the list of available networks */

Loading…
Cancel
Save