Skip to content

Commit a8fae6d

Browse files
committed
f - s/node_id/signing_pubkey
1 parent a9babce commit a8fae6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/offers/offer.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pub(crate) struct OfferContents {
4949
paths: Option<Vec<BlindedPath>>,
5050
quantity_min: Option<u64>,
5151
quantity_max: Option<u64>,
52-
node_id: Option<PublicKey>,
52+
signing_pubkey: Option<PublicKey>,
5353
}
5454

5555
impl Offer {
@@ -123,8 +123,8 @@ impl Offer {
123123
}
124124

125125
/// The recipient's public key used to sign invoices.
126-
pub fn node_id(&self) -> PublicKey {
127-
self.contents.node_id.unwrap()
126+
pub fn signing_pubkey(&self) -> PublicKey {
127+
self.contents.signing_pubkey.unwrap()
128128
}
129129
}
130130

0 commit comments

Comments
 (0)