diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-10 07:10:27 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-10 07:10:27 +0800 |
commit | b34ee4daa145c1d4eea2da6fd0cba0763e5c6483 (patch) | |
tree | 70ce17e4267ed6e126f5a5eace76f0d40c1aa1e9 /app | |
parent | b296640f1b2e8cb808297715146a9370ff4f41ec (diff) | |
download | tangerine-wallet-browser-b34ee4daa145c1d4eea2da6fd0cba0763e5c6483.tar tangerine-wallet-browser-b34ee4daa145c1d4eea2da6fd0cba0763e5c6483.tar.gz tangerine-wallet-browser-b34ee4daa145c1d4eea2da6fd0cba0763e5c6483.tar.bz2 tangerine-wallet-browser-b34ee4daa145c1d4eea2da6fd0cba0763e5c6483.tar.lz tangerine-wallet-browser-b34ee4daa145c1d4eea2da6fd0cba0763e5c6483.tar.xz tangerine-wallet-browser-b34ee4daa145c1d4eea2da6fd0cba0763e5c6483.tar.zst tangerine-wallet-browser-b34ee4daa145c1d4eea2da6fd0cba0763e5c6483.zip |
Allow for adding recently used addresses to address book.
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/metamask-controller.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 6cdd8e96f..45905db72 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -251,6 +251,7 @@ module.exports = class MetamaskController extends EventEmitter { const preferencesController = this.preferencesController const txManager = this.txManager const noticeController = this.noticeController + const addressBookController = this.addressBookController return { // etc @@ -278,6 +279,9 @@ module.exports = class MetamaskController extends EventEmitter { setDefaultRpc: nodeify(this.setDefaultRpc).bind(this), setCustomRpc: nodeify(this.setCustomRpc).bind(this), + // AddressController + setAddressBook: nodeify(addressBookController.setAddressBook).bind(addressBookController), + // KeyringController setLocked: nodeify(keyringController.setLocked).bind(keyringController), createNewVaultAndKeychain: nodeify(keyringController.createNewVaultAndKeychain).bind(keyringController), |