diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-01-18 07:48:37 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-01-18 07:48:37 +0800 |
commit | be8d9244326443fb7f54df271d4e2a2abda90f6f (patch) | |
tree | 10d3e9940879f92f35a81406edfece0de2e21acd | |
parent | 9f19fea8e08415c670ce3df5d7e363baac366d2c (diff) | |
download | tangerine-wallet-browser-be8d9244326443fb7f54df271d4e2a2abda90f6f.tar tangerine-wallet-browser-be8d9244326443fb7f54df271d4e2a2abda90f6f.tar.gz tangerine-wallet-browser-be8d9244326443fb7f54df271d4e2a2abda90f6f.tar.bz2 tangerine-wallet-browser-be8d9244326443fb7f54df271d4e2a2abda90f6f.tar.lz tangerine-wallet-browser-be8d9244326443fb7f54df271d4e2a2abda90f6f.tar.xz tangerine-wallet-browser-be8d9244326443fb7f54df271d4e2a2abda90f6f.tar.zst tangerine-wallet-browser-be8d9244326443fb7f54df271d4e2a2abda90f6f.zip |
transactions - fail txs on boot who fail addTxDefaults
-rw-r--r-- | app/scripts/controllers/transactions.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js index 4c9a4cd80..73aadb292 100644 --- a/app/scripts/controllers/transactions.js +++ b/app/scripts/controllers/transactions.js @@ -52,6 +52,8 @@ module.exports = class TransactionController extends EventEmitter { .then((txMeta) => { txMeta.loadingDefaults = false this.txStateManager.updateTx(txMeta, 'transactions: gas estimation for tx on boot') + }).catch((error) => { + this.txStateManager.setTxStatusFailed(tx.id, error) }) }) |