fix target height in synced state

This commit is contained in:
fuwa
2019-06-26 22:28:08 +08:00
parent 2f4600896d
commit 33c4b68688
+1 -1
View File
@@ -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;
}