diff options
author | Csaba Solya <csaba.solya@gmail.com> | 2018-05-10 19:43:31 +0800 |
---|---|---|
committer | Csaba Solya <csaba.solya@gmail.com> | 2018-05-10 19:43:31 +0800 |
commit | 2081768fc5881151c1035236fdb4cb65b1a5f6be (patch) | |
tree | aac772925793ac176febae37dad3332e37f381f7 /app | |
parent | 3642810584b262cf98f2576248392a389292831f (diff) | |
download | tangerine-wallet-browser-2081768fc5881151c1035236fdb4cb65b1a5f6be.tar tangerine-wallet-browser-2081768fc5881151c1035236fdb4cb65b1a5f6be.tar.gz tangerine-wallet-browser-2081768fc5881151c1035236fdb4cb65b1a5f6be.tar.bz2 tangerine-wallet-browser-2081768fc5881151c1035236fdb4cb65b1a5f6be.tar.lz tangerine-wallet-browser-2081768fc5881151c1035236fdb4cb65b1a5f6be.tar.xz tangerine-wallet-browser-2081768fc5881151c1035236fdb4cb65b1a5f6be.tar.zst tangerine-wallet-browser-2081768fc5881151c1035236fdb4cb65b1a5f6be.zip |
fix lint issues
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/controllers/transactions/lib/tx-state-history-helper.js | 2 | ||||
-rw-r--r-- | app/scripts/controllers/transactions/tx-state-manager.js | 2 |
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') |