Fixes bug in network.getEndpoint()

pull/5370/head
Brad McDermott 5 years ago committed by GitHub
parent a44ef048ad
commit 89dd5ecde6
  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