Unverified Commit 25c93094 authored by Brad McDermott's avatar Brad McDermott Committed by GitHub

Fixes bug in network.getEndpoint()

parent ad933abe
......@@ -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 */
......
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