diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-10-18 01:25:00 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-10-18 01:25:00 +0800 |
commit | bc6092e1119b64e9da87d79c4953c8405b1a6b56 (patch) | |
tree | 8b996ab5ed6733bf34e2a98167bb8e6fba70e576 /app/scripts/metamask-controller.js | |
parent | 0d495372dac180018e59ebfa3256f5376d2de90e (diff) | |
parent | 11c114599c75c6188703c619135ce41877f83b66 (diff) | |
download | tangerine-wallet-browser-bc6092e1119b64e9da87d79c4953c8405b1a6b56.tar tangerine-wallet-browser-bc6092e1119b64e9da87d79c4953c8405b1a6b56.tar.gz tangerine-wallet-browser-bc6092e1119b64e9da87d79c4953c8405b1a6b56.tar.bz2 tangerine-wallet-browser-bc6092e1119b64e9da87d79c4953c8405b1a6b56.tar.lz tangerine-wallet-browser-bc6092e1119b64e9da87d79c4953c8405b1a6b56.tar.xz tangerine-wallet-browser-bc6092e1119b64e9da87d79c4953c8405b1a6b56.tar.zst tangerine-wallet-browser-bc6092e1119b64e9da87d79c4953c8405b1a6b56.zip |
Merge branch 'master' into i735-xmlfix
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index 65c5ba58b..8b593d820 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -55,6 +55,7 @@ module.exports = class MetamaskController { agreeToEthWarning: this.agreeToEthWarning.bind(this), setTOSHash: this.setTOSHash.bind(this), checkTOSChange: this.checkTOSChange.bind(this), + setGasMultiplier: this.setGasMultiplier.bind(this), // forward directly to idStore createNewVault: idStore.createNewVault.bind(idStore), @@ -377,4 +378,13 @@ module.exports = class MetamaskController { createShapeShiftTx (depositAddress, depositType) { this.configManager.createShapeShiftTx(depositAddress, depositType) } + + setGasMultiplier (gasMultiplier, cb) { + try { + this.configManager.setGasMultiplier(gasMultiplier) + cb() + } catch (e) { + cb(e) + } + } } |