aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-07-05 18:31:03 +0800
committerGitHub <noreply@github.com>2018-07-05 18:31:03 +0800
commit46cda26f3b982fb7ff26c29d2137540a5dc49457 (patch)
tree212cdcad5a11c77098905743ee06d1279fd94261 /app
parentfd218142acb6dab0b2f921b9729f17ff90cffc2d (diff)
parent7d7662191af708621549cfd67592375436263eb3 (diff)
downloadtangerine-wallet-browser-46cda26f3b982fb7ff26c29d2137540a5dc49457.tar
tangerine-wallet-browser-46cda26f3b982fb7ff26c29d2137540a5dc49457.tar.gz
tangerine-wallet-browser-46cda26f3b982fb7ff26c29d2137540a5dc49457.tar.bz2
tangerine-wallet-browser-46cda26f3b982fb7ff26c29d2137540a5dc49457.tar.lz
tangerine-wallet-browser-46cda26f3b982fb7ff26c29d2137540a5dc49457.tar.xz
tangerine-wallet-browser-46cda26f3b982fb7ff26c29d2137540a5dc49457.tar.zst
tangerine-wallet-browser-46cda26f3b982fb7ff26c29d2137540a5dc49457.zip
Merge pull request #4685 from MetaMask/estimate-gasprice-background-newui
Use background gas price estimation method in new ui.
Diffstat (limited to 'app')
-rw-r--r--app/scripts/metamask-controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index b4d39031a..450113acf 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -338,6 +338,7 @@ module.exports = class MetamaskController extends EventEmitter {
markAccountsFound: this.markAccountsFound.bind(this),
markPasswordForgotten: this.markPasswordForgotten.bind(this),
unMarkPasswordForgotten: this.unMarkPasswordForgotten.bind(this),
+ getGasPrice: (cb) => cb(null, this.getGasPrice()),
// coinbase
buyEth: this.buyEth.bind(this),