Explorar o código

chore: doc comments for amount target

thesimplekid hai 9 meses
pai
achega
ea17895478
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      crates/cdk/src/amount.rs

+ 3 - 0
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),
 }