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 a9babce commit a8fae6dCopy full SHA for a8fae6d
lightning/src/offers/offer.rs
@@ -49,7 +49,7 @@ pub(crate) struct OfferContents {
49
paths: Option<Vec<BlindedPath>>,
50
quantity_min: Option<u64>,
51
quantity_max: Option<u64>,
52
- node_id: Option<PublicKey>,
+ signing_pubkey: Option<PublicKey>,
53
}
54
55
impl Offer {
@@ -123,8 +123,8 @@ impl Offer {
123
124
125
/// The recipient's public key used to sign invoices.
126
- pub fn node_id(&self) -> PublicKey {
127
- self.contents.node_id.unwrap()
+ pub fn signing_pubkey(&self) -> PublicKey {
+ self.contents.signing_pubkey.unwrap()
128
129
130
0 commit comments