mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-19 16:28:45 +02:00
fix target height in synced state
This commit is contained in:
@@ -228,7 +228,7 @@ class SyncedState extends HookedState {
|
||||
final _height = await rpc.height();
|
||||
// print('re-sync: height ${_height}');
|
||||
|
||||
if (_targetHeight > 0 && _targetHeight != _height) {
|
||||
if (_targetHeight > _height) {
|
||||
synced = false;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user