From 65c2abdedc89bdee6364f27c5304dcf62a9ae5ea Mon Sep 17 00:00:00 2001 From: M Date: Wed, 11 Nov 2020 18:06:19 +0200 Subject: [PATCH] Cleaned unneded logs --- cw_monero/lib/wallet.dart | 5 ----- lib/monero/monero_wallet.dart | 2 -- 2 files changed, 7 deletions(-) diff --git a/cw_monero/lib/wallet.dart b/cw_monero/lib/wallet.dart index a14bc98fa..5c239dd99 100644 --- a/cw_monero/lib/wallet.dart +++ b/cw_monero/lib/wallet.dart @@ -238,17 +238,12 @@ class SyncListener { _initialSyncHeight = 0; _updateSyncInfoTimer ??= Timer.periodic(Duration(milliseconds: 1200), (_) async { - // final _isNeededToRefresh = isNeededToRefresh(); - // print('isNeededToRefresh $_isNeededToRefresh'); - if (isNewTransactionExist()) { onNewTransaction?.call(); } var syncHeight = getSyncingHeight(); - // print('syncHeight $syncHeight'); - if (syncHeight <= 0) { syncHeight = getCurrentHeight(); } diff --git a/lib/monero/monero_wallet.dart b/lib/monero/monero_wallet.dart index 780153319..4b9dd1cfc 100644 --- a/lib/monero/monero_wallet.dart +++ b/lib/monero/monero_wallet.dart @@ -362,7 +362,6 @@ abstract class MoneroWalletBase extends WalletBase with Store { } void _onNewBlock(int height, int blocksLeft, double ptc) async { - print('_onNewBlock called'); if (walletInfo.isRecovery) { _askForUpdateTransactionHistory(); _askForUpdateBalance(); @@ -382,7 +381,6 @@ abstract class MoneroWalletBase extends WalletBase with Store { } void _onNewTransaction() { - print('_onNewTransaction called'); _askForUpdateTransactionHistory(); _askForUpdateBalance(); Timer(Duration(seconds: 1), () => _afterNewTransactionSave());