aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-06-28 23:47:44 +0800
committerDan <danjm.com@gmail.com>2018-06-29 07:58:59 +0800
commitde01a6f112716cad8ebc1fd56dd304f1818704f4 (patch)
tree38f9ce74e5ca0c7ed7ca70e308bf27cec77708c6 /app
parent9f5ee94b6937c741684de5e70ac0f9fea5f50226 (diff)
downloadtangerine-wallet-browser-de01a6f112716cad8ebc1fd56dd304f1818704f4.tar
tangerine-wallet-browser-de01a6f112716cad8ebc1fd56dd304f1818704f4.tar.gz
tangerine-wallet-browser-de01a6f112716cad8ebc1fd56dd304f1818704f4.tar.bz2
tangerine-wallet-browser-de01a6f112716cad8ebc1fd56dd304f1818704f4.tar.lz
tangerine-wallet-browser-de01a6f112716cad8ebc1fd56dd304f1818704f4.tar.xz
tangerine-wallet-browser-de01a6f112716cad8ebc1fd56dd304f1818704f4.tar.zst
tangerine-wallet-browser-de01a6f112716cad8ebc1fd56dd304f1818704f4.zip
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 d40a351a5..2055a2dc2 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),