From 04d0cca87293f5a47812d19920686755892f8446 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 19 Oct 2021 06:19:28 +0000 Subject: [PATCH] Implement Clone, Hash, PartialEq for ClosingTransaction This is a public struct intended to be used as an object by users, so it should likely have common implementations, given they're trivial. --- lightning/src/ln/chan_utils.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lightning/src/ln/chan_utils.rs b/lightning/src/ln/chan_utils.rs index ef106cc19..cbafbed67 100644 --- a/lightning/src/ln/chan_utils.rs +++ b/lightning/src/ln/chan_utils.rs @@ -940,6 +940,7 @@ impl BuiltCommitmentTransaction { /// /// This class can be used inside a signer implementation to generate a signature given the relevant /// secret key. +#[derive(Clone, Hash, PartialEq)] pub struct ClosingTransaction { to_holder_value_sat: u64, to_counterparty_value_sat: u64, -- 2.39.5