@@ -47,11 +47,8 @@ class Wallet private constructor(
4747 private val walletId : String ,
4848 private val userPreferencesRepository : UserPreferencesRepository ,
4949 val internalAppFilesPath : String ,
50- blockchainClientsConfig : BlockchainClientsConfig ,
5150 val network : Network ,
5251) {
53- private var currentBlockchainClient: BlockchainClient ? = blockchainClientsConfig.getClient()
54-
5552 fun getWalletSecrets (): WalletSecrets {
5653 return walletSecrets
5754 }
@@ -248,7 +245,6 @@ class Wallet private constructor(
248245 walletId = walletId,
249246 userPreferencesRepository = userPreferencesRepository,
250247 internalAppFilesPath = internalAppFilesPath,
251- blockchainClientsConfig = BlockchainClientsConfig .createDefaultConfig(newWalletConfig.network),
252248 network = newWalletConfig.network
253249 )
254250 }
@@ -277,9 +273,6 @@ class Wallet private constructor(
277273 walletId = activeWallet.id,
278274 userPreferencesRepository = userPreferencesRepository,
279275 internalAppFilesPath = internalAppFilesPath,
280- blockchainClientsConfig = BlockchainClientsConfig .createDefaultConfig(
281- activeWallet.network.intoDomain()
282- ),
283276 network = activeWallet.network.intoDomain()
284277 )
285278 }
@@ -354,7 +347,6 @@ class Wallet private constructor(
354347 walletId = walletId,
355348 userPreferencesRepository = userPreferencesRepository,
356349 internalAppFilesPath = internalAppFilesPath,
357- blockchainClientsConfig = BlockchainClientsConfig .createDefaultConfig(recoverWalletConfig.network),
358350 network = recoverWalletConfig.network
359351 )
360352 }
0 commit comments