aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/controllers/transactions/tx-state-manager.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/controllers/transactions/tx-state-manager.js')
-rw-r--r--app/scripts/controllers/transactions/tx-state-manager.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/scripts/controllers/transactions/tx-state-manager.js b/app/scripts/controllers/transactions/tx-state-manager.js
index 28a18ca2e..72da45913 100644
--- a/app/scripts/controllers/transactions/tx-state-manager.js
+++ b/app/scripts/controllers/transactions/tx-state-manager.js
@@ -5,6 +5,7 @@ const ethUtil = require('ethereumjs-util')
const log = require('loglevel')
const txStateHistoryHelper = require('./lib/tx-state-history-helper')
const createId = require('../../lib/random-id')
+const transactionNotificationManager = require('./lib/transaction-notification-manager')
const { getFinalStates } = require('./lib/util')
/**
TransactionStateManager is responsible for the state of a transaction and
@@ -332,6 +333,8 @@ class TransactionStateManager extends EventEmitter {
*/
setTxStatusConfirmed (txId) {
this._setTxStatus(txId, 'confirmed')
+ const txMeta = this.getTx(txId)
+ transactionNotificationManager.showConfirmedNotification(txMeta)
}
/**