From ea178954780bdd1ab22df5c8f11ba4733fc6cf20 Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Fri, 24 May 2024 22:05:40 +0100 Subject: [PATCH] chore: doc comments for amount target --- crates/cdk/src/amount.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/cdk/src/amount.rs b/crates/cdk/src/amount.rs index c1e16c3e..1e3782c8 100644 --- a/crates/cdk/src/amount.rs +++ b/crates/cdk/src/amount.rs @@ -63,12 +63,15 @@ impl Amount { } } +/// Kinds of targeting that are supported #[derive( Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Default, Serialize, Deserialize, )] pub enum SplitTarget { + /// Default target least amount of proofs #[default] None, + /// Tagrget amount for wallet to have most proofs that add up to value Value(Amount), }