aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/transaction-manager.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-03-07 07:41:11 +0800
committerFrankie <frankie.diamond@gmail.com>2017-03-07 07:41:11 +0800
commitb84f1b053265fdabc0aaec4fa8aa3145b6fb7f51 (patch)
tree466b0d89f0e624c3aa7a1653f7615e0e32bbf5fe /app/scripts/transaction-manager.js
parentf162a11585392df5e593018a02549f8b03018d22 (diff)
downloadtangerine-wallet-browser-b84f1b053265fdabc0aaec4fa8aa3145b6fb7f51.tar
tangerine-wallet-browser-b84f1b053265fdabc0aaec4fa8aa3145b6fb7f51.tar.gz
tangerine-wallet-browser-b84f1b053265fdabc0aaec4fa8aa3145b6fb7f51.tar.bz2
tangerine-wallet-browser-b84f1b053265fdabc0aaec4fa8aa3145b6fb7f51.tar.lz
tangerine-wallet-browser-b84f1b053265fdabc0aaec4fa8aa3145b6fb7f51.tar.xz
tangerine-wallet-browser-b84f1b053265fdabc0aaec4fa8aa3145b6fb7f51.tar.zst
tangerine-wallet-browser-b84f1b053265fdabc0aaec4fa8aa3145b6fb7f51.zip
Fix issue where old txMeta object was being used to pass the txHash to the cb
Diffstat (limited to 'app/scripts/transaction-manager.js')
-rw-r--r--app/scripts/transaction-manager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/transaction-manager.js b/app/scripts/transaction-manager.js
index 07c90af7e..c6cfdf11d 100644
--- a/app/scripts/transaction-manager.js
+++ b/app/scripts/transaction-manager.js
@@ -353,7 +353,7 @@ module.exports = class TransactionManager extends EventEmitter {
txMeta.status = status
this.emit(`${txMeta.id}:${status}`, txId)
if (status === 'submitted' || status === 'rejected') {
- this.emit(`${txMeta.id}:finished`, status)
+ this.emit(`${txMeta.id}:finished`, txMeta)
}
this.updateTx(txMeta)
this.emit('updateBadge')