From ae239e6cb7b61943a1dd196c7401567a8965b96c Mon Sep 17 00:00:00 2001 From: DenioD <41270280+DenioD@users.noreply.github.com> Date: Wed, 19 Feb 2020 21:00:42 +0100 Subject: [PATCH] set anchor_offset to 2, hush has dpow --- lib/src/lightwallet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/lightwallet.rs b/lib/src/lightwallet.rs index fc0bd96..e46417d 100644 --- a/lib/src/lightwallet.rs +++ b/lib/src/lightwallet.rs @@ -1572,7 +1572,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 + selected_value, target_value, self.config.anchor_offset -2 ); error!("{}", e); return Err(e);