Fix nodeify usage

feature/default_network_editable
Dan Finlay 8 years ago
parent 9e764b1935
commit 9d401f9137
  1. 22
      app/scripts/metamask-controller.js

@ -63,17 +63,17 @@ module.exports = class MetamaskController {
setGasMultiplier: this.setGasMultiplier.bind(this), setGasMultiplier: this.setGasMultiplier.bind(this),
// forward directly to keyringController // forward directly to keyringController
placeSeedWords: nodeify(keyringController.placeSeedWords.bind(keyringController)), placeSeedWords: nodeify(keyringController.placeSeedWords).bind(keyringController),
createNewVaultAndKeychain: nodeify(keyringController.createNewVaultAndKeychain.bind(keyringController)), createNewVaultAndKeychain: nodeify(keyringController.createNewVaultAndKeychain).bind(keyringController),
createNewVaultAndRestore: nodeify(keyringController.createNewVaultAndRestore.bind(keyringController)), createNewVaultAndRestore: nodeify(keyringController.createNewVaultAndRestore).bind(keyringController),
clearSeedWordCache: nodeify(keyringController.clearSeedWordCache.bind(keyringController)), clearSeedWordCache: nodeify(keyringController.clearSeedWordCache).bind(keyringController),
addNewKeyring: nodeify(keyringController.addNewKeyring.bind(keyringController)), addNewKeyring: nodeify(keyringController.addNewKeyring).bind(keyringController),
addNewAccount: nodeify(keyringController.addNewAccount.bind(keyringController)), addNewAccount: nodeify(keyringController.addNewAccount).bind(keyringController),
submitPassword: nodeify(keyringController.submitPassword.bind(keyringController)), submitPassword: nodeify(keyringController.submitPassword).bind(keyringController),
setSelectedAccount: nodeify(keyringController.setSelectedAccount.bind(keyringController)), setSelectedAccount: nodeify(keyringController.setSelectedAccount).bind(keyringController),
exportAccount: nodeify(keyringController.exportAccount.bind(keyringController)), exportAccount: nodeify(keyringController.exportAccount).bind(keyringController),
saveAccountLabel: nodeify(keyringController.saveAccountLabel.bind(keyringController)), saveAccountLabel: nodeify(keyringController.saveAccountLabel).bind(keyringController),
setLocked: nodeify(keyringController.setLocked.bind(keyringController)), setLocked: nodeify(keyringController.setLocked).bind(keyringController),
// signing methods // signing methods
approveTransaction: keyringController.approveTransaction.bind(keyringController), approveTransaction: keyringController.approveTransaction.bind(keyringController),

Loading…
Cancel
Save