diff options
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r-- | app/scripts/metamask-controller.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js index c48a4c569..38c8b21af 100644 --- a/app/scripts/metamask-controller.js +++ b/app/scripts/metamask-controller.js @@ -379,7 +379,12 @@ module.exports = class MetamaskController { this.configManager.createShapeShiftTx(depositAddress, depositType) } - setGasMultiplier (gasMultiplier) { - this.configManager.setGasMultiplier(gasMultiplier) + setGasMultiplier (gasMultiplier, cb) { + try{ + this.configManager.setGasMultiplier(gasMultiplier) + cb() + } catch (e) { + cb(e) + } } } |