Skip to content

Commit f620d84

Browse files
committed
f docs
1 parent 161eca7 commit f620d84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning-invoice/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,8 @@ impl<D: tb::Bool, H: tb::Bool, T: tb::Bool, C: tb::Bool, S: tb::Bool> InvoiceBui
729729
}
730730

731731
impl<D: tb::Bool, H: tb::Bool, T: tb::Bool, C: tb::Bool, S: tb::Bool> InvoiceBuilder<D, H, T, C, S, tb::True> {
732-
/// Sets the payment secret and relevant features.
732+
/// Sets forwarding of payment metadata as required. A reader of the invoice which does not
733+
/// support sending payment metadata will fail to read the invoice.
733734
pub fn require_payment_metadata(mut self) -> InvoiceBuilder<D, H, T, C, S, tb::True> {
734735
for field in self.tagged_fields.iter_mut() {
735736
if let TaggedField::Features(f) = field {

0 commit comments

Comments
 (0)