From: 志宇 Date: Thu, 26 Sep 2024 08:28:38 +0000 (+0800) Subject: fix!(wallet): `ChangeSet` should not be non-exhaustive X-Git-Tag: v1.0.0-beta.5~7^2 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.EncoderStringWriter.html?a=commitdiff_plain;h=d7dfe38ff6c0f1b984e15defc83c79e52a44afa9;p=bdk fix!(wallet): `ChangeSet` should not be non-exhaustive As stated in #1591, it is handy to know when new values are added to `ChangeSet`. --- diff --git a/crates/wallet/src/wallet/changeset.rs b/crates/wallet/src/wallet/changeset.rs index 2d4b700e..9c75a289 100644 --- a/crates/wallet/src/wallet/changeset.rs +++ b/crates/wallet/src/wallet/changeset.rs @@ -8,7 +8,6 @@ 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>,