mirror of
https://github.com/wownero/cyberwow.git
synced 2026-12-03 13:43:59 +01:00
tighter setter for height
This commit is contained in:
@@ -182,8 +182,9 @@ class SyncingState extends HookedState {
|
||||
|
||||
print('syncing: loop exit');
|
||||
|
||||
final _height = await rpc.height();
|
||||
SyncedState _next = SyncedState(setState, getNotification, stdout, processOutput);
|
||||
_next.height = await rpc.height();
|
||||
_next.height = _height;
|
||||
setState(_next);
|
||||
return _next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user