File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -514,11 +514,6 @@ impl TryFrom<OfferTlvStream> for OfferContents {
514
514
let absolute_expiry = absolute_expiry
515
515
. map ( |seconds_from_epoch| Duration :: from_secs ( seconds_from_epoch) ) ;
516
516
517
- let paths = match paths {
518
- Some ( paths) if paths. is_empty ( ) => return Err ( SemanticError :: MissingPaths ) ,
519
- paths => paths,
520
- } ;
521
-
522
517
let supported_quantity = match quantity_max {
523
518
None => Quantity :: one ( ) ,
524
519
Some ( 0 ) => Quantity :: Unbounded ,
Original file line number Diff line number Diff line change @@ -78,8 +78,6 @@ pub enum SemanticError {
78
78
MissingDescription ,
79
79
/// A signing pubkey was not provided.
80
80
MissingSigningPubkey ,
81
- /// An empty set of blinded paths was provided.
82
- MissingPaths ,
83
81
/// An unsupported quantity was provided.
84
82
InvalidQuantity ,
85
83
}
You can’t perform that action at this time.
0 commit comments