Updated on 2026-08-14

This commit is contained in:
Tangem 2023-02-07 19:30:26 +03:00
parent 5aae4c795f
commit a0104c613f
2 changed files with 9 additions and 3 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