]> git.bitcoin.ninja Git - rust-lightning/commit
Check if funding transaction is final for propagation
authorAntoine Riard <dev@ariard.me>
Thu, 9 Jun 2022 21:31:04 +0000 (17:31 -0400)
committerAntoine Riard <dev@ariard.me>
Tue, 14 Jun 2022 19:57:11 +0000 (15:57 -0400)
commit2b7ef4762f04823ddc4fe9269f95ae222d7b450c
treeeb04168ade367d5151b13545660b7f412763cd1d
parent22dc96481be1ab2eb4ff5bf9074ced29095f4be8
Check if funding transaction is final for propagation

If the funding transaction is timelocked beyond the next block of
our best known chain tip, return an APIError instead of silently
failing at broadcast attempt.
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_tests.rs