Preserve tx replacement flag

This commit is contained in:
Mononaut
2023-12-17 10:45:26 +00:00
parent c2f52ac1f3
commit a8fd2ac9dc
5 changed files with 13 additions and 5 deletions

View File

@@ -231,7 +231,7 @@ export class Common {
if (tx.descendants?.length) {
flags |= TransactionFlags.cpfp_parent;
}
if (rbfCache.getRbfTree(tx.txid)) {
if (tx.replacement) {
flags |= TransactionFlags.replacement;
}