Skip to content

Commit f64a670

Browse files
committed
f - rename MissingNodeId to MissingSigningPubkey
1 parent 9560ed0 commit f64a670

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lightning/src/offers/offer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ impl TryFrom<OfferTlvStream> for OfferContents {
527527
};
528528

529529
if node_id.is_none() {
530-
return Err(SemanticError::MissingNodeId);
530+
return Err(SemanticError::MissingSigningPubkey);
531531
}
532532

533533
Ok(OfferContents {

lightning/src/offers/parse.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ pub enum SemanticError {
7676
MissingAmount,
7777
/// A required description was not provided.
7878
MissingDescription,
79-
/// A node id was not provided.
80-
MissingNodeId,
79+
/// A signing pubkey was not provided.
80+
MissingSigningPubkey,
8181
/// An empty set of blinded paths was provided.
8282
MissingPaths,
8383
/// An unsupported quantity was provided.

0 commit comments

Comments
 (0)