From 412419533e13c64e5a7f156d75e0ef04c54770cd Mon Sep 17 00:00:00 2001 From: DenioD <41270280+DenioD@users.noreply.github.com> Date: Tue, 26 May 2020 20:01:21 +0200 Subject: [PATCH] set conf to 1 --- 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 aa0de61..3139b98 100644 --- a/lib/src/lightwallet.rs +++ b/lib/src/lightwallet.rs @@ -609,7 +609,7 @@ impl LightWallet { self.blocks.read().unwrap() .last() .map(|block| block.height) - .unwrap_or(self.config.sapling_activation_height as i32) + .unwrap_or(self.config.sapling_activation_height as i32 - 1) } /// Determines the target height for a transaction, and the offset from which to