aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-29 02:20:30 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-29 02:20:30 +0800
commite743f44150d4c09908d24945de5a281e15e8469d (patch)
tree76984504e65b06ae15633d721fedc7ddd5b0cca7 /app/scripts/controllers
parent3106374cc31b66e5a0faadd657b4430e21aa48b2 (diff)
parent0259eb02140fec1db9861506a6ff7890911af652 (diff)
downloadtangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.tar
tangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.tar.gz
tangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.tar.bz2
tangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.tar.lz
tangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.tar.xz
tangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.tar.zst
tangerine-wallet-browser-e743f44150d4c09908d24945de5a281e15e8469d.zip
fix conflicts
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r--app/scripts/controllers/preferences.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js
index 4798b2ad6..464a37017 100644
--- a/app/scripts/controllers/preferences.js
+++ b/app/scripts/controllers/preferences.js
@@ -384,7 +384,7 @@ class PreferencesController {
/**
* Returns an updated rpcList based on the passed url and the current list.
- * The returned list will have a max length of 2. If the _url currently exists it the list, it will be moved to the
+ * The returned list will have a max length of 3. If the _url currently exists it the list, it will be moved to the
* end of the list. The current list is modified and returned as a promise.
*
* @param {string} _url The rpc url to add to the frequentRpcList.
@@ -400,7 +400,7 @@ class PreferencesController {
if (_url !== 'http://localhost:8545') {
rpcList.push(_url)
}
- if (rpcList.length > 2) {
+ if (rpcList.length > 3) {
rpcList.shift()
}
return Promise.resolve(rpcList)