diff options
author | Dan Finlay <dan@danfinlay.com> | 2018-06-19 06:50:27 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2018-06-19 06:50:27 +0800 |
commit | 0481335dda447ba4c228d146834952bac0ad641b (patch) | |
tree | 09f71ef25a460ac91a56ca11e4a18d3c45e48dbb /app/scripts | |
parent | d26ce807fb9d21c29122d912d8dc1afc805c72ad (diff) | |
download | tangerine-wallet-browser-0481335dda447ba4c228d146834952bac0ad641b.tar tangerine-wallet-browser-0481335dda447ba4c228d146834952bac0ad641b.tar.gz tangerine-wallet-browser-0481335dda447ba4c228d146834952bac0ad641b.tar.bz2 tangerine-wallet-browser-0481335dda447ba4c228d146834952bac0ad641b.tar.lz tangerine-wallet-browser-0481335dda447ba4c228d146834952bac0ad641b.tar.xz tangerine-wallet-browser-0481335dda447ba4c228d146834952bac0ad641b.tar.zst tangerine-wallet-browser-0481335dda447ba4c228d146834952bac0ad641b.zip |
Improved rpc-engine usage
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/controllers/preferences.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js index e33501cd0..f1bd66889 100644 --- a/app/scripts/controllers/preferences.js +++ b/app/scripts/controllers/preferences.js @@ -83,11 +83,7 @@ class PreferencesController { this.addSuggestedToken(tokenOpts) this.showAddTokenUi() - return end(null, { - result: rawAddress, - "jsonrpc": "2.0", - id: req.id, - }) + return end(rawAddress) } else { return next() } |