File tree 1 file changed +0
-10
lines changed
1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -138,21 +138,11 @@ impl<'a> InvoiceBuilder<'a> {
138
138
}
139
139
140
140
/// Sets [`Invoice::features`] to indicate MPP may be used. Otherwise, MPP is disallowed.
141
- ///
142
- /// A subsequent call to [`InvoiceBuilder::mpp_required`] will override this setting.
143
141
pub fn mpp_optional ( mut self ) -> Self {
144
142
self . invoice . fields_mut ( ) . features . set_basic_mpp_optional ( ) ;
145
143
self
146
144
}
147
145
148
- /// Sets [`Invoice::features`] to indicate MPP should be used. Otherwise, MPP is disallowed.
149
- ///
150
- /// A subsequent call to [`InvoiceBuilder::mpp_optional`] will override this setting.
151
- pub fn mpp_required ( mut self ) -> Self {
152
- self . invoice . fields_mut ( ) . features . set_basic_mpp_required ( ) ;
153
- self
154
- }
155
-
156
146
/// Builds an unsigned [`Invoice`] after checking for valid semantics. It can be signed by
157
147
/// [`UnsignedInvoice::sign`].
158
148
pub fn build ( self ) -> Result < UnsignedInvoice < ' a > , SemanticError > {
You can’t perform that action at this time.
0 commit comments