Cleaned unneded logs

This commit is contained in:
M 2020-11-11 18:06:19 +02:00
parent 3d89c85462
commit 65c2abdedc
2 changed files with 0 additions and 7 deletions

View file

@ -238,17 +238,12 @@ class SyncListener {
_initialSyncHeight = 0; _initialSyncHeight = 0;
_updateSyncInfoTimer ??= _updateSyncInfoTimer ??=
Timer.periodic(Duration(milliseconds: 1200), (_) async { Timer.periodic(Duration(milliseconds: 1200), (_) async {
// final _isNeededToRefresh = isNeededToRefresh();
// print('isNeededToRefresh $_isNeededToRefresh');
if (isNewTransactionExist()) { if (isNewTransactionExist()) {
onNewTransaction?.call(); onNewTransaction?.call();
} }
var syncHeight = getSyncingHeight(); var syncHeight = getSyncingHeight();
// print('syncHeight $syncHeight');
if (syncHeight <= 0) { if (syncHeight <= 0) {
syncHeight = getCurrentHeight(); syncHeight = getCurrentHeight();
} }

View file

@ -362,7 +362,6 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance> with Store {
} }
void _onNewBlock(int height, int blocksLeft, double ptc) async { void _onNewBlock(int height, int blocksLeft, double ptc) async {
print('_onNewBlock called');
if (walletInfo.isRecovery) { if (walletInfo.isRecovery) {
_askForUpdateTransactionHistory(); _askForUpdateTransactionHistory();
_askForUpdateBalance(); _askForUpdateBalance();
@ -382,7 +381,6 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance> with Store {
} }
void _onNewTransaction() { void _onNewTransaction() {
print('_onNewTransaction called');
_askForUpdateTransactionHistory(); _askForUpdateTransactionHistory();
_askForUpdateBalance(); _askForUpdateBalance();
Timer(Duration(seconds: 1), () => _afterNewTransactionSave()); Timer(Duration(seconds: 1), () => _afterNewTransactionSave());