1
0
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:
frankiebee 2018-04-10 14:53:40 -07:00
parent 2d7c3c2b00
commit 5494aa4f9c
3 changed files with 12 additions and 12 deletions

View File

@ -7,7 +7,7 @@ module.exports = {
normalizeTxParams,
validateTxParams,
validateFrom,
validateRecipient
validateRecipient,
}

View File

@ -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) {