fix RBF detection

This commit is contained in:
Mononaut committed 2023-01-17 19:25:00 -06:00
1 parent d778530620
commit 7da308c1e1
1 file changed
+1 -1
+1 -1
View File
@@ -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;