From ed6a69c1cf9e084b1ba5f4fc386ba592c2fac504 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 2 Jun 2021 16:20:31 +0000 Subject: [PATCH] Add additional derives for a few structs --- lightning/src/chain/mod.rs | 1 + lightning/src/ln/channelmanager.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lightning/src/chain/mod.rs b/lightning/src/chain/mod.rs index e4bb66c7e..8f27e40ba 100644 --- a/lightning/src/chain/mod.rs +++ b/lightning/src/chain/mod.rs @@ -239,6 +239,7 @@ pub trait Filter { /// /// [`ChannelMonitor`]: channelmonitor::ChannelMonitor /// [`ChannelMonitor::block_connected`]: channelmonitor::ChannelMonitor::block_connected +#[derive(Clone, PartialEq, Hash)] pub struct WatchedOutput { /// First block where the transaction output may have been spent. pub block_hash: Option, diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index c3fe8090a..13a993fd9 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -498,6 +498,7 @@ pub struct ChannelManager