Skip to content

Commit c36e7ef

Browse files
committed
f - s/mpp_optional/allow_mpp
1 parent 6f8eed4 commit c36e7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/offers/invoice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ impl<'a> InvoiceBuilder<'a> {
138138
}
139139

140140
/// Sets [`Invoice::features`] to indicate MPP may be used. Otherwise, MPP is disallowed.
141-
pub fn mpp_optional(mut self) -> Self {
141+
pub fn allow_mpp(mut self) -> Self {
142142
self.invoice.fields_mut().features.set_basic_mpp_optional();
143143
self
144144
}

0 commit comments

Comments
 (0)