react-native-zcash 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/ios/RNZcash.swift +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/ios/RNZcash.swift
CHANGED
|
@@ -398,7 +398,11 @@ class WalletSynchronizer : NSObject {
|
|
|
398
398
|
self.processorState.lastDownloadedHeight = self.synchronizer.latestScannedHeight
|
|
399
399
|
self.processorState.scanProgress = 100
|
|
400
400
|
self.processorState.lastScannedHeight = self.synchronizer.latestScannedHeight
|
|
401
|
-
|
|
401
|
+
do {
|
|
402
|
+
try self.processorState.networkBlockHeight = self.synchronizer.latestHeight()
|
|
403
|
+
} catch {
|
|
404
|
+
// ignore if synchronizer throws
|
|
405
|
+
}
|
|
402
406
|
}
|
|
403
407
|
|
|
404
408
|
if self.processorState.lastDownloadedHeight != prevLastDownloadedHeight || self.processorState.scanProgress != prevScanProgress ||
|