mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Correct comment in onchaintx.rs
This comment was stale and referred to a previous implementation of #462, which changed before it was merged.
This commit is contained in:
parent
4c3533d017
commit
9de9288100
1 changed files with 2 additions and 2 deletions
|
@ -487,8 +487,8 @@ impl OnchainTxHandler {
|
|||
let mut aggregated_soonest = ::std::u32::MAX;
|
||||
let mut spendable_outputs = Vec::new();
|
||||
|
||||
// Try to aggregate outputs if they're 1) belong to same parent tx, 2) their
|
||||
// timelock expiration isn't imminent (<= CLTV_SHARED_CLAIM_BUFFER).
|
||||
// Try to aggregate outputs if their timelock expiration isn't imminent (absolute_timelock
|
||||
// <= CLTV_SHARED_CLAIM_BUFFER) and they don't require an immediate nLockTime (aggregable).
|
||||
for req in claimable_outpoints {
|
||||
// Don't claim a outpoint twice that would be bad for privacy and may uselessly lock a CPFP input for a while
|
||||
if let Some(_) = self.claimable_outpoints.get(&req.outpoint) { log_trace!(self, "Bouncing off outpoint {}:{}, already registered its claiming request", req.outpoint.txid, req.outpoint.vout); } else {
|
||||
|
|
Loading…
Add table
Reference in a new issue