mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-18 16:55:58 +00:00
Cleaned unneded logs
This commit is contained in:
parent
3d89c85462
commit
65c2abdedc
2 changed files with 0 additions and 7 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
@ -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());
|
||||||
|
|
Loading…
Reference in a new issue