Add docs
This commit is contained in:
parent
4da89ac8a9
commit
d0e7450389
|
@ -83,6 +83,8 @@ impl Plan {
|
|||
}
|
||||
}
|
||||
|
||||
/// Apply a witness to the spending plan to see if the plan can be reduced.
|
||||
/// If so, modify the plan in-place.
|
||||
pub fn apply_witness(&mut self, witness: Witness) {
|
||||
let mut new_payment = None;
|
||||
match *self {
|
||||
|
|
Loading…
Reference in New Issue