This commit is contained in:
Greg Fitzgerald 2018-03-20 16:58:14 -06:00
parent 4da89ac8a9
commit d0e7450389
1 changed files with 2 additions and 0 deletions

View File

@ -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 {