Skip to content

Commit f937912

Browse files
authored
Update core/src/tx_sender/cpfp.rs
1 parent a00a7e4 commit f937912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/tx_sender/cpfp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ impl TxSender {
466466
}
467467
};
468468
// only try to bump if tx has no descendants and 1 hour passed since tx was created
469-
if mempool_info.descendant_count > 0
469+
if mempool_info.descendant_count > 1
470470
|| std::time::SystemTime::now()
471471
.duration_since(std::time::UNIX_EPOCH)
472472
.wrap_err("Failed to get unix timestamp")?

0 commit comments

Comments
 (0)