mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
transactions - lint fixes
This commit is contained in:
parent
2d7c3c2b00
commit
5494aa4f9c
@ -7,7 +7,7 @@ module.exports = {
|
||||
normalizeTxParams,
|
||||
validateTxParams,
|
||||
validateFrom,
|
||||
validateRecipient
|
||||
validateRecipient,
|
||||
}
|
||||
|
||||
|
||||
|
@ -92,7 +92,7 @@ module.exports = class TransactionStateManager extends EventEmitter {
|
||||
// or rejected tx's.
|
||||
// not tx's that are pending or unapproved
|
||||
if (txCount > txHistoryLimit - 1) {
|
||||
let index = transactions.findIndex((metaTx) => {
|
||||
const index = transactions.findIndex((metaTx) => {
|
||||
return this.getFinalStates().includes(metaTx.status)
|
||||
})
|
||||
if (index !== -1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user