diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-08-03 07:09:37 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-08-03 07:09:37 +0800 |
commit | 340dbe75fca95373b861372d89ecdb246ad0e681 (patch) | |
tree | 57355a0814033cc2c2d2867d8bea01424e63c156 | |
parent | 0808eb22562ac9a64b00cb5aa54856ac8c1ea18c (diff) | |
download | tangerine-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
-rw-r--r-- | app/scripts/lib/tx-utils.js | 4 |
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) { |