aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-05-01 07:36:17 +0800
committerkumavis <aaron@kumavis.me>2018-05-01 07:36:17 +0800
commit6f316ca450967c161e7f231127a76494bace40a8 (patch)
tree548b6b5907cb1bb32821eeea48f1f7099a76a527 /ui/app/actions.js
parentbfedd2776d1fa668259488a5216c533b4e959fb0 (diff)
downloadtangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.gz
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.bz2
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.lz
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.xz
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.tar.zst
tangerine-wallet-browser-6f316ca450967c161e7f231127a76494bace40a8.zip
network - remove setNetworkEndpoints
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index e817fa907..021ffcdfd 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -271,7 +271,6 @@ var actions = {
SET_MOUSE_USER_STATE: 'SET_MOUSE_USER_STATE',
// Network
- setNetworkEndpoints,
updateNetworkEndpointType,
UPDATE_NETWORK_ENDPOINT_TYPE: 'UPDATE_NETWORK_ENDPOINT_TYPE',
@@ -1922,23 +1921,6 @@ function setLocaleMessages (localeMessages) {
}
}
-function setNetworkEndpoints (networkEndpointType) {
- return dispatch => {
- log.debug('background.setNetworkEndpoints')
- return new Promise((resolve, reject) => {
- background.setNetworkEndpoints(networkEndpointType, err => {
- if (err) {
- dispatch(actions.displayWarning(err.message))
- return reject(err)
- }
-
- dispatch(actions.updateNetworkEndpointType(networkEndpointType))
- resolve(networkEndpointType)
- })
- })
- }
-}
-
function updateNetworkEndpointType (networkEndpointType) {
return {
type: actions.UPDATE_NETWORK_ENDPOINT_TYPE,