mirror of
https://github.com/wownero/cyberwow.git
synced 2026-10-22 01:38:46 +02:00
clean rpc exception log
This commit is contained in:
@@ -52,7 +52,7 @@ Future<http.Response> rpc(String method) async {
|
||||
);
|
||||
}
|
||||
catch (e) {
|
||||
print(e);
|
||||
// print(e);
|
||||
}
|
||||
|
||||
return response;
|
||||
|
||||
@@ -156,12 +156,14 @@ class SyncingState extends HookedState {
|
||||
|
||||
// final _offline = await rpc.offline();
|
||||
// print('syncing: offline ${_offline}');
|
||||
|
||||
final bool initState = line.contains('Initializing core');
|
||||
if (initState)
|
||||
print('is init state');
|
||||
if (_targetHeight == 0 && (!initState) && _height > minimumHeight) break;
|
||||
}
|
||||
|
||||
print('syncing: loop exit');
|
||||
|
||||
SyncedState _next = SyncedState(setState, getNotification, stdout, processOutput);
|
||||
_next.height = await rpc.height();
|
||||
|
||||
Reference in New Issue
Block a user