Skip to content

Commit 4483baf

Browse files
committed
Don't impl Eq for tests
1 parent d65c670 commit 4483baf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,6 @@ pub type TransactionOutputs = (Txid, Vec<(u32, TxOut)>);
824824
#[cfg(any(test, fuzzing, feature = "_test_utils"))]
825825
/// Used only in testing and fuzzing to check serialization roundtrips don't change the underlying
826826
/// object
827-
impl<Signer: Sign> Eq for ChannelMonitor<Signer> {}
828827
impl<Signer: Sign> PartialEq for ChannelMonitor<Signer> {
829828
fn eq(&self, other: &Self) -> bool {
830829
let inner = self.inner.lock().unwrap();
@@ -836,7 +835,6 @@ impl<Signer: Sign> PartialEq for ChannelMonitor<Signer> {
836835
#[cfg(any(test, fuzzing, feature = "_test_utils"))]
837836
/// Used only in testing and fuzzing to check serialization roundtrips don't change the underlying
838837
/// object
839-
impl<Signer: Sign> Eq for ChannelMonitorImpl<Signer> {}
840838
impl<Signer: Sign> PartialEq for ChannelMonitorImpl<Signer> {
841839
fn eq(&self, other: &Self) -> bool {
842840
if self.latest_update_id != other.latest_update_id ||

0 commit comments

Comments
 (0)