set conf to 1

This commit is contained in:
DenioD
2020-05-26 20:01:21 +02:00
parent 91c8d18d17
commit 412419533e

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)
.unwrap_or(self.config.sapling_activation_height as i32 - 1)
}
/// Determines the target height for a transaction, and the offset from which to