From 9d401f91370049c1bd50016808881a14ea892b29 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 28 Nov 2016 17:27:28 -0800 Subject: Fix nodeify usage --- app/scripts/metamask-controller.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'app/scripts/metamask-controller.js') diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 5bcb5b477..1a872a3ab 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -63,17 +63,17 @@ module.exports = class MetamaskController { setGasMultiplier: this.setGasMultiplier.bind(this), // forward directly to keyringController - placeSeedWords: nodeify(keyringController.placeSeedWords.bind(keyringController)), - createNewVaultAndKeychain: nodeify(keyringController.createNewVaultAndKeychain.bind(keyringController)), - createNewVaultAndRestore: nodeify(keyringController.createNewVaultAndRestore.bind(keyringController)), - clearSeedWordCache: nodeify(keyringController.clearSeedWordCache.bind(keyringController)), - addNewKeyring: nodeify(keyringController.addNewKeyring.bind(keyringController)), - addNewAccount: nodeify(keyringController.addNewAccount.bind(keyringController)), - submitPassword: nodeify(keyringController.submitPassword.bind(keyringController)), - setSelectedAccount: nodeify(keyringController.setSelectedAccount.bind(keyringController)), - exportAccount: nodeify(keyringController.exportAccount.bind(keyringController)), - saveAccountLabel: nodeify(keyringController.saveAccountLabel.bind(keyringController)), - setLocked: nodeify(keyringController.setLocked.bind(keyringController)), + placeSeedWords: nodeify(keyringController.placeSeedWords).bind(keyringController), + createNewVaultAndKeychain: nodeify(keyringController.createNewVaultAndKeychain).bind(keyringController), + createNewVaultAndRestore: nodeify(keyringController.createNewVaultAndRestore).bind(keyringController), + clearSeedWordCache: nodeify(keyringController.clearSeedWordCache).bind(keyringController), + addNewKeyring: nodeify(keyringController.addNewKeyring).bind(keyringController), + addNewAccount: nodeify(keyringController.addNewAccount).bind(keyringController), + submitPassword: nodeify(keyringController.submitPassword).bind(keyringController), + setSelectedAccount: nodeify(keyringController.setSelectedAccount).bind(keyringController), + exportAccount: nodeify(keyringController.exportAccount).bind(keyringController), + saveAccountLabel: nodeify(keyringController.saveAccountLabel).bind(keyringController), + setLocked: nodeify(keyringController.setLocked).bind(keyringController), // signing methods approveTransaction: keyringController.approveTransaction.bind(keyringController), -- cgit v1.2.3