|
|
@ -178,7 +178,7 @@ class SettingsUI { |
|
|
|
selectExEnv.addEventListener('change', (event) => { |
|
|
|
selectExEnv.addEventListener('change', (event) => { |
|
|
|
let context = selectExEnv.options[selectExEnv.selectedIndex].value |
|
|
|
let context = selectExEnv.options[selectExEnv.selectedIndex].value |
|
|
|
this.blockchain.changeExecutionContext(context, () => { |
|
|
|
this.blockchain.changeExecutionContext(context, () => { |
|
|
|
modalDialogCustom.prompt('External node request', this.web3ProviderDialogBody(), 'http://localhost:8545', (target) => { |
|
|
|
modalDialogCustom.prompt('External node request', this.web3ProviderDialogBody(), 'http://127.0.0.1:8545', (target) => { |
|
|
|
this.blockchain.setProviderFromEndpoint(target, context, (alertMsg) => { |
|
|
|
this.blockchain.setProviderFromEndpoint(target, context, (alertMsg) => { |
|
|
|
if (alertMsg) addTooltip(alertMsg) |
|
|
|
if (alertMsg) addTooltip(alertMsg) |
|
|
|
this.setFinalContext() |
|
|
|
this.setFinalContext() |
|
|
|