aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorCsaba Solya <csaba.solya@gmail.com>2018-05-10 19:43:31 +0800
committerCsaba Solya <csaba.solya@gmail.com>2018-05-10 19:43:31 +0800
commit2081768fc5881151c1035236fdb4cb65b1a5f6be (patch)
treeaac772925793ac176febae37dad3332e37f381f7 /app
parent3642810584b262cf98f2576248392a389292831f (diff)
downloadtangerine-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.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')