File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ impl KeysInterface for KeysManager {
601
601
}
602
602
let funding_key = key_step ! ( b"funding key" , commitment_seed) ;
603
603
let revocation_base_key = key_step ! ( b"revocation base key" , funding_key) ;
604
- let payment_key = key_step ! ( b"payment base key" , revocation_base_key) ;
604
+ let payment_key = key_step ! ( b"payment key" , revocation_base_key) ;
605
605
let delayed_payment_base_key = key_step ! ( b"delayed payment base key" , payment_key) ;
606
606
let htlc_base_key = key_step ! ( b"HTLC base key" , delayed_payment_base_key) ;
607
607
Original file line number Diff line number Diff line change @@ -277,8 +277,8 @@ pub struct ChannelPublicKeys {
277
277
/// a commitment transaction so that their counterparty can claim all available funds if they
278
278
/// broadcast an old state.
279
279
pub revocation_basepoint : PublicKey ,
280
- /// The base point which is used (with derive_public_key) to derive a per-commitment payment
281
- /// public key which receives immediately-spendable non-HTLC-encumbered funds .
280
+ /// The public key which receives immediately-spendable non-HTLC-encumbered funds. This key is
281
+ /// static across every commitment transaction .
282
282
pub payment_point : PublicKey ,
283
283
/// The base point which is used (with derive_public_key) to derive a per-commitment payment
284
284
/// public key which receives non-HTLC-encumbered funds which are only available for spending
You can’t perform that action at this time.
0 commit comments