From af4ee0fa4b82ddafa10c6b7fc35a2532351cd003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=97=E5=AE=87?= Date: Thu, 18 Jul 2024 05:47:12 +0000 Subject: [PATCH] refactor(wallet)!: Make `bdk_wallet::ChangeSet` non-exhaustive --- crates/wallet/src/wallet/changeset.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/wallet/src/wallet/changeset.rs b/crates/wallet/src/wallet/changeset.rs index 8031f07a0..0b1602953 100644 --- a/crates/wallet/src/wallet/changeset.rs +++ b/crates/wallet/src/wallet/changeset.rs @@ -8,6 +8,7 @@ type IndexedTxGraphChangeSet = /// A changeset for [`Wallet`](crate::Wallet). #[derive(Default, Debug, Clone, PartialEq, serde::Deserialize, serde::Serialize)] +#[non_exhaustive] pub struct ChangeSet { /// Descriptor for recipient addresses. pub descriptor: Option>,