Updated on 2026-08-14

This commit is contained in:
Tangem 2026-02-16 19:21:55 +04:00
parent 7559207f59
commit 7f00a29920
2 changed files with 2 additions and 2 deletions

View file

@ -248,7 +248,7 @@ internal class DefaultSwapRepositoryV2 @Inject constructor(
userWallet = userWallet,
appPreferencesStore = appPreferencesStore,
),
toExtraId = toExtraId,
toExtraId = toExtraId?.ifEmpty { null },
).getOrThrow()
if (dataSignatureVerifier.verifySignature(response.signature, response.txDetailsJson)) {

View file

@ -312,7 +312,7 @@ internal class DefaultSwapRepository(
userWallet = userWallet,
appPreferencesStore = appPreferencesStore,
),
toExtraId = toExtraId,
toExtraId = toExtraId?.ifEmpty { null },
).getOrThrow()
if (dataSignatureVerifier.verifySignature(response.signature, response.txDetailsJson)) {
val txDetails = parseTxDetails(response.txDetailsJson)