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:
parent
3642810584
commit
2081768fc5
@ -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
|
||||||
|
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user