aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-08-08 02:40:07 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-08-08 02:40:07 +0800
commita54c26382e4e5d4e4fec543ac4e0ca90d0d91191 (patch)
treeddcc434412c87003ce350040d0523242a761482b /app
parentfb9866b4e10c823e987d4cee9fc499673d664a8a (diff)
downloadtangerine-wallet-browser-a54c26382e4e5d4e4fec543ac4e0ca90d0d91191.tar
tangerine-wallet-browser-a54c26382e4e5d4e4fec543ac4e0ca90d0d91191.tar.gz
tangerine-wallet-browser-a54c26382e4e5d4e4fec543ac4e0ca90d0d91191.tar.bz2
tangerine-wallet-browser-a54c26382e4e5d4e4fec543ac4e0ca90d0d91191.tar.lz
tangerine-wallet-browser-a54c26382e4e5d4e4fec543ac4e0ca90d0d91191.tar.xz
tangerine-wallet-browser-a54c26382e4e5d4e4fec543ac4e0ca90d0d91191.tar.zst
tangerine-wallet-browser-a54c26382e4e5d4e4fec543ac4e0ca90d0d91191.zip
remove unnecessary if statment for error message
Diffstat (limited to 'app')
-rw-r--r--app/scripts/controllers/transactions.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/scripts/controllers/transactions.js b/app/scripts/controllers/transactions.js
index bc8e5b729..efc8d7117 100644
--- a/app/scripts/controllers/transactions.js
+++ b/app/scripts/controllers/transactions.js
@@ -246,7 +246,6 @@ module.exports = class TransactionController extends EventEmitter {
// must set transaction to submitted/failed before releasing lock
nonceLock.releaseLock()
} catch (err) {
- if (!err.message) err.message = 'Transaction failed during approval'
this.setTxStatusFailed(txId, err)
// must set transaction to submitted/failed before releasing lock
if (nonceLock) nonceLock.releaseLock()