From 19760ac3cc7fb12b21a9e6143220a870747ffdc0 Mon Sep 17 00:00:00 2001 From: Igor Cota Date: Fri, 9 May 2025 17:25:17 +0200 Subject: [PATCH] Allow serialization of Update --- wallet/src/wallet/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/src/wallet/mod.rs b/wallet/src/wallet/mod.rs index 277df8c0..948c5ab1 100644 --- a/wallet/src/wallet/mod.rs +++ b/wallet/src/wallet/mod.rs @@ -113,7 +113,7 @@ pub struct Wallet { /// An update to [`Wallet`]. /// /// It updates [`KeychainTxOutIndex`], [`bdk_chain::TxGraph`] and [`LocalChain`] atomically. -#[derive(Debug, Clone, Default)] +#[derive(Debug, Clone, Default, serde::Deserialize, serde::Serialize)] pub struct Update { /// Contains the last active derivation indices per keychain (`K`), which is used to update the /// [`KeychainTxOutIndex`].