change conf to 2

This commit is contained in:
DenioD
2019-10-31 15:36:43 +01:00
parent a21008f9a2
commit 143651cec1

View File

@@ -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);