From df0c1ccd30f4ed2d1c7a1a6fc6a9aace99d8ed1e Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Tue, 20 May 2025 13:18:14 +0200 Subject: [PATCH] fix(dev): updates to scripts, added documentation --- lib/main.dart | 5 ++++ scripts/android/debug/README.md | 35 ++++++++++++++++++++++++++ scripts/android/debug/record_tap.sh | 2 +- scripts/android/debug/wallet_fuzzer.sh | 30 +++++++++++----------- 4 files changed, 56 insertions(+), 16 deletions(-) create mode 100644 scripts/android/debug/README.md diff --git a/lib/main.dart b/lib/main.dart index db7104b86..d727d99c5 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -204,6 +204,11 @@ Future initializeAppConfigs({bool loadWallet = true}) async { final trades = await CakeHive.openBox(Trade.boxName, encryptionKey: tradesBoxKey); final orders = await CakeHive.openBox(Order.boxName, encryptionKey: ordersBoxKey); final walletInfoSource = await CakeHive.openBox(WalletInfo.boxName); + if (walletInfoSource.length == 0) { + printV("WalletInfo corrupted: length == 0"); + } else { + printV("WalletInfo normal: ${walletInfoSource.length}"); + } final templates = await CakeHive.openBox