Updated on 2026-08-14

This commit is contained in:
Tangem 2025-12-23 14:00:21 +05:00
parent 6280be9268
commit 8ea66c6e33

View file

@ -64,7 +64,7 @@ class TangemHotWalletSigner @AssistedInject constructor(
hotWalletId = userWallet.hotWalletId,
dataToSign = dataToSign.map { signData ->
val wallet =
userWallet.wallets.orEmpty().firstOrNull { it.publicKey.contentEquals(signData.publicKey) }
userWallet.wallets.orEmpty().firstOrNull { it.publicKey.contentEquals(publicKey.seedKey) }
?: return CompletionResult.Failure(
TangemSdkError.ExceptionError(IllegalStateException("wallet is locked")),
)