aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorEvgeniy Filatov <efilatov@geeksforless.net>2018-08-20 01:25:33 +0800
committerEvgeniy Filatov <efilatov@geeksforless.net>2018-08-23 06:18:13 +0800
commitb23cca14699b6c6a8c843c9cc020ec96fe758822 (patch)
tree482ceba0213032e1de8d614dc0cc5c76d8946875 /app/scripts
parent25eac2334b96b8b2af6b8859631d8a032bfdd2bb (diff)
downloadtangerine-wallet-browser-b23cca14699b6c6a8c843c9cc020ec96fe758822.tar.gz
tangerine-wallet-browser-b23cca14699b6c6a8c843c9cc020ec96fe758822.tar.zst
tangerine-wallet-browser-b23cca14699b6c6a8c843c9cc020ec96fe758822.zip
implemented improvements to RPC history
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/controllers/preferences.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js
index 707fd7de9..7456a7a7c 100644
--- a/app/scripts/controllers/preferences.js
+++ b/app/scripts/controllers/preferences.js
@@ -338,7 +338,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)