mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Cleaned unneded logs
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user