aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/scripts/controllers/transactions/lib/tx-state-history-helper.js2
-rw-r--r--app/scripts/controllers/transactions/tx-state-manager.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/controllers/transactions/lib/tx-state-history-helper.js b/app/scripts/controllers/transactions/lib/tx-state-history-helper.js
index bb51c9871..4d8f4baa4 100644
--- a/app/scripts/controllers/transactions/lib/tx-state-history-helper.js
+++ b/app/scripts/controllers/transactions/lib/tx-state-history-helper.js
@@ -26,7 +26,7 @@ function migrateFromSnapshotsToDiffs (longHistory) {
/**
Generates an array of history objects sense the previous state.
- The object has the keys
+ The object has the keys
op (the operation performed),
path (the key and if a nested object then each key will be seperated with a `/`)
value
diff --git a/app/scripts/controllers/transactions/tx-state-manager.js b/app/scripts/controllers/transactions/tx-state-manager.js
index 7b6b52432..00e837571 100644
--- a/app/scripts/controllers/transactions/tx-state-manager.js
+++ b/app/scripts/controllers/transactions/tx-state-manager.js
@@ -401,7 +401,7 @@ class TransactionStateManager extends EventEmitter {
this.emit(`${txMeta.id}:${status}`, txId)
this.emit(`tx:status-update`, txId, status)
if (['submitted', 'rejected', 'failed'].includes(status)) {
- this.emit(`${txMeta.id}:finished`, txMeta)
+ this.emit(`${txMeta.id}:finished`, txMeta)
}
this.updateTx(txMeta, `txStateManager: setting status to ${status}`)
this.emit('update:badge')