Skip to content

Commit

Permalink
tweak filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronfigueiredo committed Sep 20, 2023
1 parent 1974868 commit a99ea44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/controllers/transactions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2793,7 +2793,7 @@ export default class TransactionController extends EventEmitter {
const incomingTransactions = transactions
.filter(
(tx) =>
(tx.type === TransactionType.incoming && tx.from !== tx.to) ||
tx.type === TransactionType.incoming ||
!this._hasTransactionHash(tx.hash, currentTransactions),
)
.reduce((result, tx) => {
Expand Down

0 comments on commit a99ea44

Please sign in to comment.