Cleaned unneded logs

wownero
M 4 years ago
parent 3d89c85462
commit 65c2abdedc

@ -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();
}

@ -362,7 +362,6 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance> 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<MoneroBalance> with Store {
}
void _onNewTransaction() {
print('_onNewTransaction called');
_askForUpdateTransactionHistory();
_askForUpdateBalance();
Timer(Duration(seconds: 1), () => _afterNewTransactionSave());

Loading…
Cancel
Save