diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index b0e6d27ec7f..82e8e1d96e7 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -4406,6 +4406,11 @@ where /// This is a variant of [`claim_funds`] that allows accepting a payment with custom TLVs with /// even type numbers. /// + /// # Note + /// + /// You MUST check you've understood all even TLVs before using this to + /// claim, otherwise you may unintentionally agree to some protocol you do not understand. + /// /// [`claim_funds`]: Self::claim_funds pub fn claim_funds_with_known_custom_tlvs(&self, payment_preimage: PaymentPreimage) { self.claim_payment_internal(payment_preimage, true);