Updated on 2026-08-14
This commit is contained in:
parent
6f0ddc9ba2
commit
0bcb306d03
1 changed files with 1 additions and 1 deletions
|
|
@ -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], "")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue