Updated on 2026-08-14
This commit is contained in:
parent
456cd01c02
commit
2c7a317313
8 changed files with 24 additions and 22 deletions
|
|
@ -143,8 +143,7 @@ fun WalletManagerFactory.makeSaltPayWalletManager(
|
|||
scanResponse: ScanResponse,
|
||||
): EthereumWalletManager {
|
||||
val blockchain = scanResponse.getBlockchain()
|
||||
if (blockchain != Blockchain.SaltPay && blockchain != Blockchain.SaltPayTestnet)
|
||||
throw IllegalArgumentException()
|
||||
if (blockchain != Blockchain.SaltPay) throw IllegalArgumentException()
|
||||
|
||||
val token = SaltPayWorkaround.tokenFrom(blockchain)
|
||||
val cardWallet = scanResponse.card.wallets.firstOrNull().guard {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue