From d0e745038936a7219b31ac21de01ff24f3cf7e91 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Tue, 20 Mar 2018 16:58:14 -0600 Subject: [PATCH] Add docs --- src/plan.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plan.rs b/src/plan.rs index 960c969c43..f15197d825 100644 --- a/src/plan.rs +++ b/src/plan.rs @@ -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 {