From: Matt Corallo Date: Wed, 2 Jun 2021 16:20:31 +0000 (+0000) Subject: Add additional derives for a few structs X-Git-Tag: v0.0.98~5^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ed6a69c1cf9e084b1ba5f4fc386ba592c2fac504;p=rust-lightning Add additional derives for a few structs --- 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