Skip to content

Commit

Permalink
log some extra wallet info
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-CStack committed Feb 6, 2025
1 parent 8ca4421 commit 0240869
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/wallets/wallet/intermediate/lib_monero_wallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ abstract class LibMoneroWallet<T extends CryptonoteCurrency>

@override
Future<void> exit() async {
Logging.instance.i("exit called on $walletId");
libMoneroWallet?.stopAutoSaving();
libMoneroWallet?.stopListeners();
libMoneroWallet?.stopSyncing();
Expand Down
8 changes: 8 additions & 0 deletions lib/wallets/wallet/wallet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,13 @@ abstract class Wallet<T extends CryptoCurrency> {
.walletIdEqualTo(walletId)
.findFirst();

Logging.instance.i(
"Wallet.load loading"
" $walletId "
"${walletInfo?.coin.identifier}"
" ${walletInfo?.name}",
);

if (walletInfo == null) {
throw Exception(
"WalletInfo not found for $walletId when trying to call Wallet.load()",
Expand Down Expand Up @@ -712,6 +719,7 @@ abstract class Wallet<T extends CryptoCurrency> {
}

Future<void> exit() async {
Logging.instance.i("exit called on $walletId");
_periodicRefreshTimer?.cancel();
_networkAliveTimer?.cancel();

Expand Down

0 comments on commit 0240869

Please sign in to comment.