mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Change Nonce visibility to pub
A nonce is generated in OfferBuilder::deriving_signing_pubkey from an EntropySource for use in Offer::metadata. The same nonce will need to be included as recipient data in any blinded paths in the Offer. Increase the visibility to allow for this.
This commit is contained in:
parent
37331035f9
commit
5278d314d5
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ impl ExpandedKey {
|
|||
/// [`Offer::metadata`]: crate::offers::offer::Offer::metadata
|
||||
/// [`Offer::signing_pubkey`]: crate::offers::offer::Offer::signing_pubkey
|
||||
#[derive(Clone, Copy, Debug, PartialEq)]
|
||||
pub(crate) struct Nonce(pub(crate) [u8; Self::LENGTH]);
|
||||
pub struct Nonce(pub(crate) [u8; Self::LENGTH]);
|
||||
|
||||
impl Nonce {
|
||||
/// Number of bytes in the nonce.
|
||||
|
|
Loading…
Add table
Reference in a new issue