File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ impl OfferBuilder {
145
145
/// Sets the [`Offer::amount`].
146
146
///
147
147
/// Successive calls to this method will override the previous setting.
148
- pub ( crate ) fn amount ( mut self , amount : Amount ) -> Self {
148
+ pub ( super ) fn amount ( mut self , amount : Amount ) -> Self {
149
149
self . offer . amount = Some ( amount) ;
150
150
self
151
151
}
@@ -223,7 +223,7 @@ impl OfferBuilder {
223
223
}
224
224
225
225
#[ cfg( test) ]
226
- pub ( crate ) fn build_unchecked ( self ) -> Offer {
226
+ pub ( super ) fn build_unchecked ( self ) -> Offer {
227
227
let mut bytes = Vec :: new ( ) ;
228
228
self . offer . write ( & mut bytes) . unwrap ( ) ;
229
229
@@ -390,7 +390,7 @@ impl Offer {
390
390
}
391
391
392
392
#[ cfg( test) ]
393
- pub ( crate ) fn as_tlv_stream ( & self ) -> OfferTlvStreamRef {
393
+ pub ( super ) fn as_tlv_stream ( & self ) -> OfferTlvStreamRef {
394
394
self . contents . as_tlv_stream ( )
395
395
}
396
396
}
You can’t perform that action at this time.
0 commit comments