Updated on 2026-08-14

This commit is contained in:
Tangem 2023-10-31 20:45:14 +03:00
parent f71373df81
commit b3913ff6b8

View file

@ -154,7 +154,7 @@ class UserWalletManagerImpl(
val walletManager = getActualWalletManager(blockchain, derivationPath)
return walletManager.wallet.recentTransactions
.lastOrNull { it.hash?.isNotEmpty() == true }
?.hash?.let { HEX_PREFIX + it }
?.hash
}
override suspend fun getCurrentWalletTokensBalance(
@ -242,10 +242,6 @@ class UserWalletManagerImpl(
"No wallet manager found"
}
}
companion object {
private const val HEX_PREFIX = "0x"
}
}
private fun NonNativeToken.toSdkToken(): Token {