Updated on 2026-08-14
This commit is contained in:
parent
31be70ecf3
commit
896b838d80
3 changed files with 3 additions and 4 deletions
|
|
@ -68,7 +68,6 @@ class ResponseCryptoCurrenciesFactory @Inject constructor(
|
|||
responseToken: UserTokensResponse.Token,
|
||||
userWallet: UserWallet,
|
||||
network: Network,
|
||||
accountIndex: DerivationIndex? = null,
|
||||
): CryptoCurrency? {
|
||||
var blockchain = Blockchain.fromNetworkId(responseToken.networkId)
|
||||
if (blockchain == null || blockchain == Blockchain.Unknown) {
|
||||
|
|
@ -82,7 +81,7 @@ class ResponseCryptoCurrenciesFactory @Inject constructor(
|
|||
|
||||
val sdkToken = createSdkToken(responseToken)
|
||||
return if (sdkToken == null) {
|
||||
createCoin(blockchain, responseToken, network, accountIndex)
|
||||
createCoin(blockchain, responseToken, network)
|
||||
} else {
|
||||
createToken(blockchain, sdkToken, network)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue