Updated on 2026-08-14

This commit is contained in:
Tangem 2020-09-24 12:42:00 +03:00
parent 6f0ddc9ba2
commit 0bcb306d03

View file

@ -127,7 +127,7 @@ internal class AddressPayIdMiddleware {
//TODO: move to the blockchainSDK
private fun extractAddressFromShareUri(shareUri: String): String {
val sharePrefix = listOf("bitcoin:", "ethereum:", "ripple:")
val sharePrefix = listOf("bitcoin:", "ethereum:", "ripple:", "litecoin:")
val prefixes = sharePrefix.filter { shareUri.contains(it) }
return if (prefixes.isEmpty()) shareUri else shareUri.replace(prefixes[0], "")
}