diff --git a/backend/src/api/common.ts b/backend/src/api/common.ts index 18961d188..9b647c5b4 100644 --- a/backend/src/api/common.ts +++ b/backend/src/api/common.ts @@ -59,7 +59,7 @@ export class Common { && addedTx.feePerVsize > deletedTx.feePerVsize // Spends one or more of the same inputs && deletedTx.vin.some((deletedVin) => - addedTx.vin.some((vin) => vin.txid === deletedVin.txid)); + addedTx.vin.some((vin) => vin.txid === deletedVin.txid && vin.vout === deletedVin.vout)); }); if (foundMatches) { matches[deletedTx.txid] = foundMatches;