diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-01-12 04:23:00 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2017-01-12 04:23:00 +0800 |
commit | bbd2f2738b5b260f0e666b9cfb8d0c843342abb2 (patch) | |
tree | 07d58da5c1e08e90868c1561f6b7b114bd545d2e /app/scripts/transaction-manager.js | |
parent | 0b59dafc344994838b3fbd146c55c73ce0cb76af (diff) | |
download | tangerine-wallet-browser-bbd2f2738b5b260f0e666b9cfb8d0c843342abb2.tar tangerine-wallet-browser-bbd2f2738b5b260f0e666b9cfb8d0c843342abb2.tar.gz tangerine-wallet-browser-bbd2f2738b5b260f0e666b9cfb8d0c843342abb2.tar.bz2 tangerine-wallet-browser-bbd2f2738b5b260f0e666b9cfb8d0c843342abb2.tar.lz tangerine-wallet-browser-bbd2f2738b5b260f0e666b9cfb8d0c843342abb2.tar.xz tangerine-wallet-browser-bbd2f2738b5b260f0e666b9cfb8d0c843342abb2.tar.zst tangerine-wallet-browser-bbd2f2738b5b260f0e666b9cfb8d0c843342abb2.zip |
Add to CHANGELOG
Diffstat (limited to 'app/scripts/transaction-manager.js')
-rw-r--r-- | app/scripts/transaction-manager.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/scripts/transaction-manager.js b/app/scripts/transaction-manager.js index a279ba23a..f83bc41c9 100644 --- a/app/scripts/transaction-manager.js +++ b/app/scripts/transaction-manager.js @@ -262,12 +262,18 @@ module.exports = class TransactionManager extends EventEmitter { var txHash = tx.hash var txId = tx.id if (!txHash) { - tx.err = { errCode: 'No hash was provided', message: 'Tx could possibly have not been submitted or an error accrued during signing'} + tx.err = { + errCode: 'No hash was provided', + message: 'Tx could possibly have not been submitted or an error accrued during signing', + } return this.updateTx(tx) } this.txProviderUtils.query.getTransactionByHash(txHash, (err, txMeta) => { if (err) { - tx.err = {errorCode: err, message: 'Tx could possibly have not been submitted to the block chain',} + tx.err = { + errorCode: err, + message: 'Tx could possibly have not been submitted to the block chain', + } this.updateTx(tx) return console.error(err) } |