Updated on 2026-08-14
This commit is contained in:
parent
dbc5600e9a
commit
3bf67bade6
1 changed files with 3 additions and 0 deletions
|
|
@ -397,7 +397,10 @@ sealed interface Currency {
|
|||
}
|
||||
|
||||
fun isCustomCurrency(derivationStyle: DerivationStyle?): Boolean {
|
||||
if (this is Token && this.token.id == null) return true
|
||||
|
||||
if (derivationPath == null || derivationStyle == null) return false
|
||||
|
||||
return derivationPath != blockchain.derivationPath(derivationStyle)?.rawPath
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue