|
|
@ -119,8 +119,6 @@ var actions = { |
|
|
|
SET_RPC_TARGET: 'SET_RPC_TARGET', |
|
|
|
SET_RPC_TARGET: 'SET_RPC_TARGET', |
|
|
|
SET_DEFAULT_RPC_TARGET: 'SET_DEFAULT_RPC_TARGET', |
|
|
|
SET_DEFAULT_RPC_TARGET: 'SET_DEFAULT_RPC_TARGET', |
|
|
|
SET_PROVIDER_TYPE: 'SET_PROVIDER_TYPE', |
|
|
|
SET_PROVIDER_TYPE: 'SET_PROVIDER_TYPE', |
|
|
|
USE_ETHERSCAN_PROVIDER: 'USE_ETHERSCAN_PROVIDER', |
|
|
|
|
|
|
|
useEtherscanProvider: useEtherscanProvider, |
|
|
|
|
|
|
|
showConfigPage, |
|
|
|
showConfigPage, |
|
|
|
SHOW_ADD_TOKEN_PAGE: 'SHOW_ADD_TOKEN_PAGE', |
|
|
|
SHOW_ADD_TOKEN_PAGE: 'SHOW_ADD_TOKEN_PAGE', |
|
|
|
showAddTokenPage, |
|
|
|
showAddTokenPage, |
|
|
@ -746,14 +744,6 @@ function addToAddressBook (recipient, nickname) { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function useEtherscanProvider () { |
|
|
|
|
|
|
|
log.debug(`background.useEtherscanProvider`) |
|
|
|
|
|
|
|
background.useEtherscanProvider() |
|
|
|
|
|
|
|
return { |
|
|
|
|
|
|
|
type: actions.USE_ETHERSCAN_PROVIDER, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function showLoadingIndication (message) { |
|
|
|
function showLoadingIndication (message) { |
|
|
|
return { |
|
|
|
return { |
|
|
|
type: actions.SHOW_LOADING, |
|
|
|
type: actions.SHOW_LOADING, |
|
|
|