Cleaned unneded logs

M committed Nov 11, 2020 at 18:06 UTC 65c2abdedc89bdee6364f27c5304dcf62a9ae5ea
2 files changed -7
cw_monero/lib/wallet.dart
-5
@@ -238,17 +238,12 @@ class SyncListener {
238 _initialSyncHeight = 0;
239 _updateSyncInfoTimer ??=
240 Timer.periodic(Duration(milliseconds: 1200), (_) async {
241 - // final _isNeededToRefresh = isNeededToRefresh();
242 - // print('isNeededToRefresh $_isNeededToRefresh');
243 -
241 if (isNewTransactionExist()) {
242 onNewTransaction?.call();
243 }
244
245 var syncHeight = getSyncingHeight();
246
250 - // print('syncHeight $syncHeight');
251 -
247 if (syncHeight <= 0) {
248 syncHeight = getCurrentHeight();
249 }
lib/monero/monero_wallet.dart
-2
@@ -362,7 +362,6 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance> with Store {
362 }
363
364 void _onNewBlock(int height, int blocksLeft, double ptc) async {
365 - print('_onNewBlock called');
365 if (walletInfo.isRecovery) {
366 _askForUpdateTransactionHistory();
367 _askForUpdateBalance();
@@ -382,7 +381,6 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance> with Store {
381 }
382
383 void _onNewTransaction() {
385 - print('_onNewTransaction called');
384 _askForUpdateTransactionHistory();
385 _askForUpdateBalance();
386 Timer(Duration(seconds: 1), () => _afterNewTransactionSave());