1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

fix lint issues

This commit is contained in:
Csaba Solya 2018-05-10 13:43:31 +02:00
parent 3642810584
commit 2081768fc5
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ function migrateFromSnapshotsToDiffs (longHistory) {
/** /**
Generates an array of history objects sense the previous state. Generates an array of history objects sense the previous state.
The object has the keys The object has the keys
op (the operation performed), op (the operation performed),
path (the key and if a nested object then each key will be seperated with a `/`) path (the key and if a nested object then each key will be seperated with a `/`)
value value

View File

@ -401,7 +401,7 @@ class TransactionStateManager extends EventEmitter {
this.emit(`${txMeta.id}:${status}`, txId) this.emit(`${txMeta.id}:${status}`, txId)
this.emit(`tx:status-update`, txId, status) this.emit(`tx:status-update`, txId, status)
if (['submitted', 'rejected', 'failed'].includes(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.updateTx(txMeta, `txStateManager: setting status to ${status}`)
this.emit('update:badge') this.emit('update:badge')