From 63fb1086643e2ca46f2d5b880995d8c7b83f1bcd Mon Sep 17 00:00:00 2001 From: Alessandro Rezzi Date: Thu, 7 Nov 2024 11:12:24 +0100 Subject: [PATCH] apply new lint rules --- scripts/mempool.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mempool.js b/scripts/mempool.js index 462651aeb..93812e118 100644 --- a/scripts/mempool.js +++ b/scripts/mempool.js @@ -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 }; } @@ -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,