diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-02-23 07:12:56 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-02-23 07:12:56 +0800 |
commit | 7a0ce31bd31a3d6f1a92bbaded71b040ca765065 (patch) | |
tree | b14e9b068ab1153660ad6c310c51478612ed52f9 /ui/app/actions.js | |
parent | 17a7436602191d11bb02771a87bd74f7baeb49ea (diff) | |
download | tangerine-wallet-browser-7a0ce31bd31a3d6f1a92bbaded71b040ca765065.tar tangerine-wallet-browser-7a0ce31bd31a3d6f1a92bbaded71b040ca765065.tar.gz tangerine-wallet-browser-7a0ce31bd31a3d6f1a92bbaded71b040ca765065.tar.bz2 tangerine-wallet-browser-7a0ce31bd31a3d6f1a92bbaded71b040ca765065.tar.lz tangerine-wallet-browser-7a0ce31bd31a3d6f1a92bbaded71b040ca765065.tar.xz tangerine-wallet-browser-7a0ce31bd31a3d6f1a92bbaded71b040ca765065.tar.zst tangerine-wallet-browser-7a0ce31bd31a3d6f1a92bbaded71b040ca765065.zip |
Implemented functionality for displaying recent custom RPCs
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index a39646f33..86638fc91 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -627,8 +627,9 @@ function markAccountsFound() { function setRpcTarget (newRpc) { if (global.METAMASK_DEBUG) console.log(`background.setRpcTarget`) - background.setRpcTarget(newRpc) - background.addToFrequentRpcList(newRpc) + background.addToFrequentRpcList(newRpc, () => { + background.setRpcTarget(newRpc) + }) return { type: actions.SET_RPC_TARGET, value: newRpc, |