aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-08-03 07:09:37 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-08-03 07:09:37 +0800
commit340dbe75fca95373b861372d89ecdb246ad0e681 (patch)
tree57355a0814033cc2c2d2867d8bea01424e63c156 /app/scripts
parent0808eb22562ac9a64b00cb5aa54856ac8c1ea18c (diff)
downloadtangerine-wallet-browser-340dbe75fca95373b861372d89ecdb246ad0e681.tar
tangerine-wallet-browser-340dbe75fca95373b861372d89ecdb246ad0e681.tar.gz
tangerine-wallet-browser-340dbe75fca95373b861372d89ecdb246ad0e681.tar.bz2
tangerine-wallet-browser-340dbe75fca95373b861372d89ecdb246ad0e681.tar.lz
tangerine-wallet-browser-340dbe75fca95373b861372d89ecdb246ad0e681.tar.xz
tangerine-wallet-browser-340dbe75fca95373b861372d89ecdb246ad0e681.tar.zst
tangerine-wallet-browser-340dbe75fca95373b861372d89ecdb246ad0e681.zip
use async with #publishTransaction
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/lib/tx-utils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/tx-utils.js b/app/scripts/lib/tx-utils.js
index 0e5b6a999..3687a9652 100644
--- a/app/scripts/lib/tx-utils.js
+++ b/app/scripts/lib/tx-utils.js
@@ -82,8 +82,8 @@ module.exports = class txProvideUtils {
return ethTx
}
- publishTransaction (rawTx) {
- return this.query.sendRawTransaction(rawTx)
+ async publishTransaction (rawTx) {
+ return await this.query.sendRawTransaction(rawTx)
}
async validateTxParams (txParams) {