Updated on 2026-08-14

This commit is contained in:
Tangem 2023-02-13 11:50:32 +03:00
commit 9783f9ce3d
12 changed files with 67 additions and 39 deletions

View file

@ -63,6 +63,12 @@ class UserWalletIdBuilder private constructor(
)
}
fun walletPublicKey(publicKey: ByteArray): UserWalletId {
return UserWalletIdBuilder(
publicKey = publicKey,
).build()!!
}
private fun findPublicKey(wallets: List<CardDTO.Wallet>): ByteArray? {
return wallets.firstOrNull()
?.publicKey