chore: doc comments for amount target

This commit is contained in:
thesimplekid
2024-05-24 22:05:40 +01:00
parent d6305df4f2
commit ea17895478

View File

@@ -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),
}