Fixes bug in network.getEndpoint()

pull/1/head
Brad McDermott 5 years ago committed by GitHub
parent ad933abe5f
commit 25c9309413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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