Use existing height timer to retry untractable packages
[rust-lightning] / lightning / src / chain / onchaintx.rs
index f690d3664273b94e8ee9fe8d6d4c9f16d44ece0e..297b80421d656073985456bf81e28b46424e40da 100644 (file)
@@ -583,7 +583,7 @@ impl<ChannelSigner: WriteableEcdsaChannelSigner> OnchainTxHandler<ChannelSigner>
                                None => return None,
                        };
                        if !cached_request.requires_external_funding() {
-                               return Some((None, 0, OnchainClaim::Tx(tx)));
+                               return Some((new_timer, 0, OnchainClaim::Tx(tx)));
                        }
                        #[cfg(anchors)]
                        return inputs.find_map(|input| match input {