aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/config-manager.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-18 01:25:00 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-10-18 01:25:00 +0800
commitbc6092e1119b64e9da87d79c4953c8405b1a6b56 (patch)
tree8b996ab5ed6733bf34e2a98167bb8e6fba70e576 /app/scripts/lib/config-manager.js
parent0d495372dac180018e59ebfa3256f5376d2de90e (diff)
parent11c114599c75c6188703c619135ce41877f83b66 (diff)
downloadtangerine-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/lib/config-manager.js')
-rw-r--r--app/scripts/lib/config-manager.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js
index ecc9bc5f7..cced32670 100644
--- a/app/scripts/lib/config-manager.js
+++ b/app/scripts/lib/config-manager.js
@@ -384,3 +384,15 @@ ConfigManager.prototype.createShapeShiftTx = function (depositAddress, depositTy
}
this.setData(data)
}
+
+ConfigManager.prototype.getGasMultiplier = function () {
+ var data = this.getData()
+ return ('gasMultiplier' in data) && data.gasMultiplier
+}
+
+ConfigManager.prototype.setGasMultiplier = function (gasMultiplier) {
+ var data = this.getData()
+
+ data.gasMultiplier = gasMultiplier
+ this.setData(data)
+}