diff --git a/lib/src/lightwallet.rs b/lib/src/lightwallet.rs index 5bd8862..b76e242 100644 --- a/lib/src/lightwallet.rs +++ b/lib/src/lightwallet.rs @@ -1471,7 +1471,7 @@ impl LightWallet { if selected_value < u64::from(target_value) { let e = format!( "Insufficient verified funds (have {}, need {:?}). NOTE: funds need {} confirmations before they can be spent.", - selected_value, target_value, self.config.anchor_offset + 1 + selected_value, target_value, self.config.anchor_offset - 2 ); error!("{}", e); return Err(e);