@@ -475,7 +475,7 @@ impl_writeable_tlv_based!(TxCreationKeys, {
475
475
} ) ;
476
476
477
477
/// 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 ) ]
479
479
pub struct ChannelPublicKeys {
480
480
/// The public key which is used to sign all commitment transactions, as it appears in the
481
481
/// 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
863
863
///
864
864
/// Normally, this is converted to the broadcaster/countersignatory-organized DirectedChannelTransactionParameters
865
865
/// 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 ) ]
867
867
pub struct ChannelTransactionParameters {
868
868
/// Holder public keys
869
869
pub holder_pubkeys : ChannelPublicKeys ,
@@ -883,7 +883,7 @@ pub struct ChannelTransactionParameters {
883
883
}
884
884
885
885
/// Late-bound per-channel counterparty data used to build transactions.
886
- #[ derive( Clone , Debug , PartialEq , Eq ) ]
886
+ #[ derive( Clone , Debug , Hash , PartialEq , Eq ) ]
887
887
pub struct CounterpartyChannelTransactionParameters {
888
888
/// Counter-party public keys
889
889
pub pubkeys : ChannelPublicKeys ,
0 commit comments