mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-22 21:55:53 +00:00
debug: dump all meta accounts' tronAddress/tronPublicKey presence at startup
hasAccountIn=false was observed live for the currently active account despite every derivation/mapping code path (creation, backfill, DB->domain mapping) tracing correctly - need to see the actual DB state per account to know whether this is a write-time or read-time gap.
This commit is contained in:
+9
@@ -87,6 +87,15 @@ class AccountDataSourceImpl(
|
||||
}
|
||||
|
||||
Log.d("AccountDataSourceImpl", "migrations block done")
|
||||
|
||||
metaAccountDao.getMetaAccounts().forEach {
|
||||
Log.d(
|
||||
"TronDiag",
|
||||
"metaId=${it.id} name=${it.name} type=${it.type} isSelected=${it.isSelected} " +
|
||||
"tronAddress=${it.tronAddress?.joinToString("") { b -> "%02x".format(b) } ?: "NULL"} " +
|
||||
"tronPublicKey=${if (it.tronPublicKey != null) "present(${it.tronPublicKey!!.size}B)" else "NULL"}"
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user