From e34024cd566cd4dc17ab90cc5b191da8e55802e5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E5=BF=97=E5=AE=87?= Date: Tue, 3 Dec 2024 16:40:24 +1100 Subject: [PATCH] feat(chain): Derive `Clone` on `IndexedTxGraph` --- crates/chain/src/indexed_tx_graph.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.49.0