mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
clean up logs
This commit is contained in:
parent
d4d85259e1
commit
719c7abd49
2 changed files with 8 additions and 8 deletions
|
@ -185,8 +185,8 @@ class MoneroWallet extends CoinServiceAPI {
|
|||
try {
|
||||
if (walletBase!.syncStatus! is SyncedSyncStatus &&
|
||||
walletBase!.syncStatus!.progress() == 1.0) {
|
||||
Logging.instance
|
||||
.log("currentSyncingHeight lol", level: LogLevel.Warning);
|
||||
// Logging.instance
|
||||
// .log("currentSyncingHeight lol", level: LogLevel.Warning);
|
||||
return getSyncingHeight();
|
||||
}
|
||||
} catch (e, s) {}
|
||||
|
|
|
@ -153,7 +153,7 @@ class WowneroWallet extends CoinServiceAPI {
|
|||
try {
|
||||
_height = (walletBase!.syncStatus as SyncingSyncStatus).height;
|
||||
} catch (e, s) {
|
||||
Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
// Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
}
|
||||
|
||||
int blocksRemaining = -1;
|
||||
|
@ -162,7 +162,7 @@ class WowneroWallet extends CoinServiceAPI {
|
|||
blocksRemaining =
|
||||
(walletBase!.syncStatus as SyncingSyncStatus).blocksLeft;
|
||||
} catch (e, s) {
|
||||
Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
// Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
}
|
||||
int currentHeight = _height + blocksRemaining;
|
||||
if (_height == -1 || blocksRemaining == -1) {
|
||||
|
@ -186,8 +186,8 @@ class WowneroWallet extends CoinServiceAPI {
|
|||
try {
|
||||
if (walletBase!.syncStatus! is SyncedSyncStatus &&
|
||||
walletBase!.syncStatus!.progress() == 1.0) {
|
||||
Logging.instance
|
||||
.log("currentSyncingHeight lol", level: LogLevel.Warning);
|
||||
// Logging.instance
|
||||
// .log("currentSyncingHeight lol", level: LogLevel.Warning);
|
||||
return getSyncingHeight();
|
||||
}
|
||||
} catch (e, s) {}
|
||||
|
@ -195,7 +195,7 @@ class WowneroWallet extends CoinServiceAPI {
|
|||
try {
|
||||
syncingHeight = (walletBase!.syncStatus as SyncingSyncStatus).height;
|
||||
} catch (e, s) {
|
||||
Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
// Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
}
|
||||
final cachedHeight =
|
||||
DB.instance.get<dynamic>(boxName: walletId, key: "storedSyncingHeight")
|
||||
|
@ -418,7 +418,7 @@ class WowneroWallet extends CoinServiceAPI {
|
|||
try {
|
||||
progress = (walletBase!.syncStatus!).progress();
|
||||
} catch (e, s) {
|
||||
Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
// Logging.instance.log("$e $s", level: LogLevel.Warning);
|
||||
}
|
||||
await _fetchTransactionData();
|
||||
|
||||
|
|
Loading…
Reference in a new issue