File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 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 {
601601 }
602602 let funding_key = key_step ! ( b"funding key" , commitment_seed) ;
603603 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) ;
605605 let delayed_payment_base_key = key_step ! ( b"delayed payment base key" , payment_key) ;
606606 let htlc_base_key = key_step ! ( b"HTLC base key" , delayed_payment_base_key) ;
607607
Original file line number Diff line number Diff line change @@ -277,8 +277,8 @@ 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 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 .
282282 pub payment_point : PublicKey ,
283283 /// The base point which is used (with derive_public_key) to derive a per-commitment payment
284284 /// 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