Alias checker disconnected
This commit is contained in:
parent
f499898ff5
commit
fb38ac8d9e
|
@ -394,10 +394,12 @@ struct ZcashRustBackend: ZcashRustBackendWelding {
|
|||
|
||||
defer { zcashlc_free_boxed_slice(pcztPtr) }
|
||||
|
||||
return [Data(
|
||||
bytes: pcztPtr.pointee.ptr,
|
||||
count: Int(pcztPtr.pointee.len)
|
||||
)]
|
||||
return [
|
||||
Data(
|
||||
bytes: pcztPtr.pointee.ptr,
|
||||
count: Int(pcztPtr.pointee.len)
|
||||
)
|
||||
]
|
||||
}
|
||||
|
||||
@DBActor
|
||||
|
|
|
@ -97,7 +97,7 @@ public class SDKSynchronizer: Synchronizer {
|
|||
}
|
||||
|
||||
deinit {
|
||||
UsedAliasesChecker.stopUsing(alias: initializer.alias, id: initializer.id)
|
||||
//UsedAliasesChecker.stopUsing(alias: initializer.alias, id: initializer.id)
|
||||
Task { [blockProcessor] in
|
||||
await blockProcessor.stop()
|
||||
}
|
||||
|
@ -120,9 +120,9 @@ public class SDKSynchronizer: Synchronizer {
|
|||
return initialisationError
|
||||
}
|
||||
|
||||
if !UsedAliasesChecker.tryToUse(alias: initializer.alias, id: initializer.id) {
|
||||
return .initializerAliasAlreadyInUse(initializer.alias)
|
||||
}
|
||||
// if !UsedAliasesChecker.tryToUse(alias: initializer.alias, id: initializer.id) {
|
||||
// return .initializerAliasAlreadyInUse(initializer.alias)
|
||||
// }
|
||||
|
||||
return nil
|
||||
}
|
||||
|
@ -606,7 +606,7 @@ public class SDKSynchronizer: Synchronizer {
|
|||
return
|
||||
}
|
||||
|
||||
UsedAliasesChecker.stopUsing(alias: initializer.alias, id: initializer.id)
|
||||
// UsedAliasesChecker.stopUsing(alias: initializer.alias, id: initializer.id)
|
||||
|
||||
let context = AfterSyncHooksManager.WipeContext(
|
||||
prewipe: { [weak self] in
|
||||
|
|
Loading…
Reference in New Issue