Merge pull request #100 from zcash/fix/sync-improvements

Fix/sync improvements
This commit is contained in:
Francisco Gindre 2020-03-23 12:03:05 -03:00 committed by GitHub
commit e426a44ab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -368,7 +368,7 @@ public class CompactBlockProcessor {
validateChainOperation.completionHandler = { (finished, cancelled) in
guard !cancelled else {
LoggerProxy.debug("Warning: operation cancelled")
LoggerProxy.debug("Warning: validateChainOperation operation cancelled")
return
}
@ -411,7 +411,7 @@ public class CompactBlockProcessor {
scanBlocksOperation.completionHandler = { [weak self] (finished, cancelled) in
guard !cancelled else {
LoggerProxy.debug("Warning: operation cancelled")
LoggerProxy.debug("Warning: scanBlocksOperation operation cancelled")
return
}
self?.processBatchFinished(range: range)

View File

@ -16,7 +16,7 @@ extension CompactBlockRange {
extension BlockID {
static let saplingActivationHeight: UInt64 = 280_000
static let saplingActivationHeight: UInt64 = UInt64(ZcashSDK.SAPLING_ACTIVATION_HEIGHT)
init(height: UInt64) {
self = BlockID()