We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9560ed0 commit f64a670Copy full SHA for f64a670
lightning/src/offers/offer.rs
@@ -527,7 +527,7 @@ impl TryFrom<OfferTlvStream> for OfferContents {
527
};
528
529
if node_id.is_none() {
530
- return Err(SemanticError::MissingNodeId);
+ return Err(SemanticError::MissingSigningPubkey);
531
}
532
533
Ok(OfferContents {
lightning/src/offers/parse.rs
@@ -76,8 +76,8 @@ pub enum SemanticError {
76
MissingAmount,
77
/// A required description was not provided.
78
MissingDescription,
79
- /// A node id was not provided.
80
- MissingNodeId,
+ /// A signing pubkey was not provided.
+ MissingSigningPubkey,
81
/// An empty set of blinded paths was provided.
82
MissingPaths,
83
/// An unsupported quantity was provided.
0 commit comments