Skip to content

Commit ed7e30e

Browse files
Merge pull request #1742 from tnull/2022-09-remove-done-todo
Remove completed TODO
2 parents 969574c + 5f386be commit ed7e30e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lightning/src/ln/channelmanager.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2935,7 +2935,6 @@ impl<Signer: Sign, M: Deref, T: Deref, K: Deref, F: Deref, L: Deref> ChannelMana
29352935
// Transactions are evaluated as final by network mempools at the next block. However, the modules
29362936
// constituting our Lightning node might not have perfect sync about their blockchain views. Thus, if
29372937
// the wallet module is in advance on the LDK view, allow one more block of headroom.
2938-
// TODO: updated if/when https://github.com/rust-bitcoin/rust-bitcoin/pull/994 landed and rust-bitcoin bumped.
29392938
if !funding_transaction.input.iter().all(|input| input.sequence == Sequence::MAX) && LockTime::from(funding_transaction.lock_time).is_block_height() && funding_transaction.lock_time.0 > height + 2 {
29402939
return Err(APIError::APIMisuseError {
29412940
err: "Funding transaction absolute timelock is non-final".to_owned()

0 commit comments

Comments
 (0)