Add test_set_outpoints_partial_claiming
[rust-lightning] / lightning / src / ln / channelmonitor.rs
index 6ca9578b9a4beb1e715a5282a402b7ed75a951c7..e17111256ea016ae6df06abaa22fcb5b846f8043 100644 (file)
@@ -1977,6 +1977,7 @@ impl ChannelMonitor {
 
        /// Attempts to claim a remote HTLC-Success/HTLC-Timeout's outputs using the revocation key
        fn check_spend_remote_htlc(&mut self, tx: &Transaction, commitment_number: u64, height: u32, fee_estimator: &FeeEstimator) -> (Option<Transaction>, Option<SpendableOutputDescriptor>) {
+               //TODO: send back new outputs to guarantee pending_claim_request consistency
                if tx.input.len() != 1 || tx.output.len() != 1 {
                        return (None, None)
                }