Skip to content

Commit b65035f

Browse files
devrandomTheBlueMatt
authored andcommitted
Hide derived fields in TxCreationKeys
1 parent 42d7738 commit b65035f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lightning/src/ln/chan_utils.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ pub struct TxCreationKeys {
124124
pub per_commitment_point: PublicKey,
125125
/// The revocation key which is used to allow the owner of the commitment transaction to
126126
/// provide their counterparty the ability to punish them if they broadcast an old state.
127-
pub revocation_key: PublicKey,
127+
pub(crate) revocation_key: PublicKey,
128128
/// A's HTLC Key
129-
pub a_htlc_key: PublicKey,
129+
pub(crate) a_htlc_key: PublicKey,
130130
/// B's HTLC Key
131-
pub b_htlc_key: PublicKey,
131+
pub(crate) b_htlc_key: PublicKey,
132132
/// A's Payment Key (which isn't allowed to be spent from for some delay)
133-
pub a_delayed_payment_key: PublicKey,
133+
pub(crate) a_delayed_payment_key: PublicKey,
134134
/// B's Payment Key
135-
pub b_payment_key: PublicKey,
135+
pub(crate) b_payment_key: PublicKey,
136136
}
137137

138138
/// One counterparty's public keys which do not change over the life of a channel.

0 commit comments

Comments
 (0)