]> Untitled Git - bdk/commitdiff
feat(wallet): Derive Clone on AddressInfo
authorPraveen Perera <praveenperera@users.noreply.github.com>
Thu, 15 Aug 2024 16:22:37 +0000 (11:22 -0500)
committerPraveen Perera <me@praveenperera.com>
Tue, 20 Aug 2024 00:04:43 +0000 (19:04 -0500)
crates/wallet/src/wallet/mod.rs

index f98b16e911646e3bd40865a45f3fdb4d8a866d70..f304e8a67bcc42043b6909d8b391938c4806eca9 100644 (file)
@@ -171,7 +171,7 @@ impl From<SyncResult> for Update {
 
 /// A derived address and the index it was found at.
 /// For convenience this automatically derefs to `Address`
-#[derive(Debug, PartialEq, Eq)]
+#[derive(Debug, Clone, PartialEq, Eq)]
 pub struct AddressInfo {
     /// Child index of this address
     pub index: u32,