From: 志宇 Date: Tue, 3 Dec 2024 05:40:24 +0000 (+1100) Subject: feat(chain): Derive `Clone` on `IndexedTxGraph` X-Git-Tag: v1.0.0-beta.6~2^2~9 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/enum.HexToArrayError.html?a=commitdiff_plain;h=e34024cd566cd4dc17ab90cc5b191da8e55802e5;p=bdk feat(chain): Derive `Clone` on `IndexedTxGraph` --- diff --git a/crates/chain/src/indexed_tx_graph.rs b/crates/chain/src/indexed_tx_graph.rs index 673cb203..039924c9 100644 --- a/crates/chain/src/indexed_tx_graph.rs +++ b/crates/chain/src/indexed_tx_graph.rs @@ -13,7 +13,7 @@ use crate::{ /// The [`IndexedTxGraph`] combines a [`TxGraph`] and an [`Indexer`] implementation. /// /// It ensures that [`TxGraph`] and [`Indexer`] are updated atomically. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct IndexedTxGraph { /// Transaction index. pub index: I,