aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-08-02 23:35:35 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-08-02 23:35:35 +0800
commit3a4726018e43157909f8c04e03f33cee2584795a (patch)
tree08f1a7256939fe6e29c77d8b918bf5a8a425bacf /app/scripts/controllers
parent21e76484d628d7861b09f013116121101e67334c (diff)
downloadtangerine-wallet-browser-3a4726018e43157909f8c04e03f33cee2584795a.tar.gz
tangerine-wallet-browser-3a4726018e43157909f8c04e03f33cee2584795a.tar.zst
tangerine-wallet-browser-3a4726018e43157909f8c04e03f33cee2584795a.zip
fix addTxDefaults
Diffstat (limited to 'app/scripts/controllers')
-rw-r--r--app/scripts/controllers/transactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index d3e852ef9..43dfb9360 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -172,7 +172,7 @@ module.exports = class TransactionController extends EventEmitter {
// ensure value
txParams.value = txParams.value || '0x0'
if (!txParams.gasPrice) {
- gassPrice = await this.query.gasPrice()
+ const gasPrice = await this.query.gasPrice()
txParams.gasPrice = gasPrice
}
// set gasLimit