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