From 2081768fc5881151c1035236fdb4cb65b1a5f6be Mon Sep 17 00:00:00 2001 From: Csaba Solya Date: Thu, 10 May 2018 13:43:31 +0200 Subject: fix lint issues --- app/scripts/controllers/transactions/lib/tx-state-history-helper.js | 2 +- app/scripts/controllers/transactions/tx-state-manager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/scripts/controllers/transactions') 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') -- cgit