Updated on 2026-08-14
This commit is contained in:
parent
6280be9268
commit
8ea66c6e33
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class TangemHotWalletSigner @AssistedInject constructor(
|
||||||
hotWalletId = userWallet.hotWalletId,
|
hotWalletId = userWallet.hotWalletId,
|
||||||
dataToSign = dataToSign.map { signData ->
|
dataToSign = dataToSign.map { signData ->
|
||||||
val wallet =
|
val wallet =
|
||||||
userWallet.wallets.orEmpty().firstOrNull { it.publicKey.contentEquals(signData.publicKey) }
|
userWallet.wallets.orEmpty().firstOrNull { it.publicKey.contentEquals(publicKey.seedKey) }
|
||||||
?: return CompletionResult.Failure(
|
?: return CompletionResult.Failure(
|
||||||
TangemSdkError.ExceptionError(IllegalStateException("wallet is locked")),
|
TangemSdkError.ExceptionError(IllegalStateException("wallet is locked")),
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue