mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 02:11:49 +01:00
fix RBF detection
This commit is contained in:
parent
d778530620
commit
7da308c1e1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user