refactor(wallet)!: Make bdk_wallet::ChangeSet non-exhaustive

This commit is contained in:
志宇 2024-07-18 05:47:12 +00:00
parent 22d02ed3d1
commit af4ee0fa4b
No known key found for this signature in database
GPG Key ID: F6345C9837C2BDE8

View File

@ -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<Descriptor<DescriptorPublicKey>>,