From fb07cae93c706cce929beef98690109e5f2d7592 Mon Sep 17 00:00:00 2001 From: DenioD <41270280+DenioD@users.noreply.github.com> Date: Fri, 22 May 2020 19:06:31 +0200 Subject: [PATCH] set anchor to 0 --- 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 3139b98..aa0de61 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 - 1) + .unwrap_or(self.config.sapling_activation_height as i32) } /// Determines the target height for a transaction, and the offset from which to