Skip to content

Commit e1e3090

Browse files
committed
f update field docs that were a bit confusing Antoine pointed out
1 parent 8bd08b5 commit e1e3090

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lightning/src/chain/keysinterface.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ pub struct InMemoryChannelKeys {
276276
funding_key: SecretKey,
277277
/// Local secret key for blinded revocation pubkey
278278
revocation_base_key: SecretKey,
279-
/// Local secret key used in commitment txn generated by us (for broadcast by our counterparty)
279+
/// Local secret key used for our balance in remote-broadcasted commitment transactions
280280
payment_key: SecretKey,
281281
/// Local secret key used in HTLC tx
282282
delayed_payment_base_key: SecretKey,

lightning/src/ln/chan_utils.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,9 @@ pub struct ChannelPublicKeys {
277277
/// a commitment transaction so that their counterparty can claim all available funds if they
278278
/// broadcast an old state.
279279
pub revocation_basepoint: PublicKey,
280-
/// The public key which receives immediately-spendable non-HTLC-encumbered funds. This key is
281-
/// static across every commitment transaction.
280+
/// The public key which receives our immediately spendable primary channel balance in
281+
/// remote-broadcasted commitment transactions. This key is static across every commitment
282+
/// transaction.
282283
pub payment_point: PublicKey,
283284
/// The base point which is used (with derive_public_key) to derive a per-commitment payment
284285
/// public key which receives non-HTLC-encumbered funds which are only available for spending

0 commit comments

Comments
 (0)