aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/metamask-controller.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-26 04:24:03 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-10-26 04:24:03 +0800
commit678301a20e6112d79a052c13f921bb75c451c613 (patch)
tree735a7e4cd5dc92aa3f574144660231728d9c74f2 /app/scripts/metamask-controller.js
parent16e2f029d8b76e6f1e951d35307d955c2346cd8d (diff)
downloadtangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.gz
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.bz2
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.lz
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.xz
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.zst
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.zip
Phase out extra warning screen.
Diffstat (limited to 'app/scripts/metamask-controller.js')
-rw-r--r--app/scripts/metamask-controller.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index c0da7cdaa..9c89d752b 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -54,7 +54,6 @@ module.exports = class MetamaskController {
agreeToDisclaimer: this.agreeToDisclaimer.bind(this),
resetDisclaimer: this.resetDisclaimer.bind(this),
setCurrentFiat: this.setCurrentFiat.bind(this),
- agreeToEthWarning: this.agreeToEthWarning.bind(this),
setTOSHash: this.setTOSHash.bind(this),
checkTOSChange: this.checkTOSChange.bind(this),
setGasMultiplier: this.setGasMultiplier.bind(this),
@@ -334,15 +333,6 @@ module.exports = class MetamaskController {
}, 300000)
}
- agreeToEthWarning (cb) {
- try {
- this.configManager.setShouldntShowWarning()
- cb()
- } catch (e) {
- cb(e)
- }
- }
-
// called from popup
setRpcTarget (rpcTarget) {
this.configManager.setRpcTarget(rpcTarget)