Skip to content

Commit a8ff89a

Browse files
committed
f - make OfferBuilder::features test-only
1 parent 99cd180 commit a8ff89a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/offers/offer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ impl OfferBuilder {
120120
/// Sets the features for the offer.
121121
///
122122
/// Successive calls to this method will override the previous setting.
123+
#[cfg(test)]
123124
pub fn features(mut self, features: OfferFeatures) -> Self {
124125
self.offer.features = Some(features);
125126
self

0 commit comments

Comments
 (0)