Skip to content

Commit 93293c9

Browse files
committed
1 parent e6bc8ac commit 93293c9

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

crates/bdk/src/wallet/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub struct Update {
114114
}
115115

116116
/// The changes made to a wallet by applying an [`Update`].
117-
#[derive(Debug, Clone, PartialEq, serde::Serialize, serde::Deserialize, Default)]
117+
#[derive(Debug, Clone, PartialEq, Eq, serde::Serialize, serde::Deserialize, Default)]
118118
pub struct ChangeSet {
119119
/// Changes to the [`LocalChain`].
120120
///

crates/chain/src/indexed_tx_graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ where
267267
}
268268

269269
/// A structure that represents changes to an [`IndexedTxGraph`].
270-
#[derive(Clone, Debug, PartialEq)]
270+
#[derive(Clone, Debug, PartialEq, Eq)]
271271
#[cfg_attr(
272272
feature = "serde",
273273
derive(serde::Deserialize, serde::Serialize),

crates/chain/src/keychain.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pub use txout_index::*;
2525
///
2626
/// [`KeychainTxOutIndex`]: crate::keychain::KeychainTxOutIndex
2727
/// [`apply_changeset`]: crate::keychain::KeychainTxOutIndex::apply_changeset
28-
#[derive(Clone, Debug, PartialEq)]
28+
#[derive(Clone, Debug, PartialEq, Eq)]
2929
#[cfg_attr(
3030
feature = "serde",
3131
derive(serde::Deserialize, serde::Serialize),

crates/chain/src/local_chain.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ impl LocalChain {
448448
}
449449

450450
/// Represents a failure when trying to insert a checkpoint into [`LocalChain`].
451-
#[derive(Clone, Debug, PartialEq)]
451+
#[derive(Clone, Debug, PartialEq, Eq)]
452452
pub struct InsertBlockError {
453453
/// The checkpoints' height.
454454
pub height: u32,
@@ -472,7 +472,7 @@ impl core::fmt::Display for InsertBlockError {
472472
impl std::error::Error for InsertBlockError {}
473473

474474
/// Occurs when an update does not have a common checkpoint with the original chain.
475-
#[derive(Clone, Debug, PartialEq)]
475+
#[derive(Clone, Debug, PartialEq, Eq)]
476476
pub struct CannotConnectError {
477477
/// The suggested checkpoint to include to connect the two chains.
478478
pub try_include_height: u32,

crates/chain/src/tx_graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ impl<A: Anchor> TxGraph<A> {
11101110
/// Refer to [module-level documentation] for more.
11111111
///
11121112
/// [module-level documentation]: crate::tx_graph
1113-
#[derive(Debug, Clone, PartialEq)]
1113+
#[derive(Debug, Clone, PartialEq, Eq)]
11141114
#[cfg_attr(
11151115
feature = "serde",
11161116
derive(serde::Deserialize, serde::Serialize),

example-crates/example_electrum/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl ElectrumArgs {
9090
}
9191
}
9292

93-
#[derive(Parser, Debug, Clone, PartialEq)]
93+
#[derive(Parser, Debug, Clone, PartialEq, Eq)]
9494
pub struct ScanOptions {
9595
/// Set batch size for each script_history call to electrum client.
9696
#[clap(long, default_value = "25")]

example-crates/example_esplora/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ impl EsploraArgs {
9191
}
9292
}
9393

94-
#[derive(Parser, Debug, Clone, PartialEq)]
94+
#[derive(Parser, Debug, Clone, PartialEq, Eq)]
9595
pub struct ScanOptions {
9696
/// Max number of concurrent esplora server requests.
9797
#[clap(long, default_value = "1")]

0 commit comments

Comments
 (0)