From e95e4ee9bf6be5238af4c47daa791aece8beb0bd Mon Sep 17 00:00:00 2001 From: fuwa Date: Tue, 25 Jun 2019 20:07:19 +0800 Subject: [PATCH] remove unused rpc --- cyberwow/lib/state.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cyberwow/lib/state.dart b/cyberwow/lib/state.dart index 6f1912d..dccc723 100644 --- a/cyberwow/lib/state.dart +++ b/cyberwow/lib/state.dart @@ -149,14 +149,14 @@ class SyncingState extends HookedState { print(line); final _targetHeight = await rpc.targetHeight(); - final _height = await rpc.height(); + // final _height = await rpc.height(); print('syncing: target height ${_targetHeight}'); // print('syncing: height ${_height}'); // final _offline = await rpc.offline(); // print('syncing: offline ${_offline}'); - if (_targetHeight == 0 && _height > minimumHeight) break; + if (_targetHeight == 0) break; }