Skip to content

Commit

Permalink
apply new lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
panleone committed Nov 7, 2024
1 parent 8567bd6 commit 63fb108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mempool.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class Mempool {
const debit = filteredVin
.map((i) => this.outpointToUTXO(i.outpoint))
.reduce((acc, u) => acc + (u?.value || 0), 0);
const ownAllVin = tx.vin.length == filteredVin.length;
const ownAllVin = tx.vin.length === filteredVin.length;
return { debit, ownAllVin };
}

Expand All @@ -145,7 +145,7 @@ export class Mempool {
) & OutpointState.OURS
);
const credit = filteredVout.reduce((acc, u) => acc + u?.value ?? 0, 0);
const ownAllVout = tx.vout.length == filteredVout.length;
const ownAllVout = tx.vout.length === filteredVout.length;
return {
credit,
ownAllVout,
Expand Down

0 comments on commit 63fb108

Please sign in to comment.