mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Merge pull request #3232 from cooltexture1/fix-#3209
Small fix for #3209
This commit is contained in:
commit
068d95ef9a
1 changed files with 3 additions and 3 deletions
|
@ -124,7 +124,7 @@ key_read_write!(DelayedPaymentBasepoint);
|
|||
/// punish and claim all the channel funds if the state broadcasted was previously revoked.
|
||||
///
|
||||
/// [See the BOLT specs]
|
||||
/// (https://github.com/lightning/bolts/blob/master/03-transactions.md#localpubkey-local_htlcpubkey-remote_htlcpubkey-local_delayedpubkey-and-remote_delayedpubkey-derivation)
|
||||
/// <https://github.com/lightning/bolts/blob/master/03-transactions.md#localpubkey-local_htlcpubkey-remote_htlcpubkey-local_delayedpubkey-and-remote_delayedpubkey-derivation>
|
||||
/// for more information on key derivation details.
|
||||
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
|
||||
pub struct DelayedPaymentKey(pub PublicKey);
|
||||
|
@ -151,7 +151,7 @@ key_read_write!(HtlcBasepoint);
|
|||
/// Thus, both channel counterparties' HTLC keys will appears in each HTLC output's script.
|
||||
///
|
||||
/// [See the BOLT specs]
|
||||
/// (https://github.com/lightning/bolts/blob/master/03-transactions.md#localpubkey-local_htlcpubkey-remote_htlcpubkey-local_delayedpubkey-and-remote_delayedpubkey-derivation)
|
||||
/// <https://github.com/lightning/bolts/blob/master/03-transactions.md#localpubkey-local_htlcpubkey-remote_htlcpubkey-local_delayedpubkey-and-remote_delayedpubkey-derivation>
|
||||
/// for more information on key derivation details.
|
||||
#[derive(PartialEq, Eq, Clone, Copy, Debug)]
|
||||
pub struct HtlcKey(pub PublicKey);
|
||||
|
@ -204,7 +204,7 @@ key_read_write!(RevocationBasepoint);
|
|||
/// per_commitment_point which is used in both commitment and HTLC transactions.
|
||||
///
|
||||
/// See [the BOLT spec for derivation details]
|
||||
/// (https://github.com/lightning/bolts/blob/master/03-transactions.md#revocationpubkey-derivation)
|
||||
/// <https://github.com/lightning/bolts/blob/master/03-transactions.md#revocationpubkey-derivation>
|
||||
#[derive(PartialEq, Eq, Clone, Copy, Debug, Hash)]
|
||||
pub struct RevocationKey(pub PublicKey);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue