set anchor to 0

This commit is contained in:
DenioD
2020-05-22 19:06:31 +02:00
parent d2887d0787
commit fb07cae93c

View File

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