Skip to content

Commit eab7050

Browse files
committed
fixup! Support signing to_remote anchors variant for StaticPaymentOutput
1 parent aa518d2 commit eab7050

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/chan_utils.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ impl_writeable_tlv_based!(TxCreationKeys, {
475475
});
476476

477477
/// One counterparty's public keys which do not change over the life of a channel.
478-
#[derive(Clone, Debug, PartialEq, Eq)]
478+
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
479479
pub struct ChannelPublicKeys {
480480
/// The public key which is used to sign all commitment transactions, as it appears in the
481481
/// on-chain channel lock-in 2-of-2 multisig output.
@@ -863,7 +863,7 @@ pub fn build_anchor_input_witness(funding_key: &PublicKey, funding_sig: &Signatu
863863
///
864864
/// Normally, this is converted to the broadcaster/countersignatory-organized DirectedChannelTransactionParameters
865865
/// before use, via the as_holder_broadcastable and as_counterparty_broadcastable functions.
866-
#[derive(Clone, Debug, PartialEq, Eq)]
866+
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
867867
pub struct ChannelTransactionParameters {
868868
/// Holder public keys
869869
pub holder_pubkeys: ChannelPublicKeys,
@@ -883,7 +883,7 @@ pub struct ChannelTransactionParameters {
883883
}
884884

885885
/// Late-bound per-channel counterparty data used to build transactions.
886-
#[derive(Clone, Debug, PartialEq, Eq)]
886+
#[derive(Clone, Debug, Hash, PartialEq, Eq)]
887887
pub struct CounterpartyChannelTransactionParameters {
888888
/// Counter-party public keys
889889
pub pubkeys: ChannelPublicKeys,

0 commit comments

Comments
 (0)