mirror of
https://codeberg.org/anoncontributorxmr/mysu.git
synced 2024-11-09 20:53:29 +01:00
Fix trusted daemon settings
This commit is contained in:
parent
0a9d774f18
commit
384d440fe3
@ -87,8 +87,8 @@ class HomeFragment : Fragment(), TxInfoAdapterListener {
|
||||
lifecycleScope.launch(Dispatchers.IO) {
|
||||
Timber.d("Updating daemon:: $daemon")
|
||||
WalletManager.instance?.setDaemon(daemon)
|
||||
WalletManager.instance?.wallet?.setTrustedDaemon(daemon.trusted)
|
||||
WalletManager.instance?.wallet?.init(0)
|
||||
WalletManager.instance?.wallet?.setTrustedDaemon(daemon.trusted)
|
||||
WalletManager.instance?.wallet?.startRefresh()
|
||||
}
|
||||
}
|
||||
|
@ -64,8 +64,8 @@ class MoneroHandlerThread(name: String, val listener: Listener?, wallet: Wallet)
|
||||
wallet.setProxy(proxy)
|
||||
}
|
||||
WalletManager.instance?.setDaemon(currentNode)
|
||||
currentNode?.trusted?.let { wallet.setTrustedDaemon(it) }
|
||||
wallet.init(0)
|
||||
currentNode?.trusted?.let { wallet.setTrustedDaemon(it) }
|
||||
wallet.setListener(this)
|
||||
wallet.startRefresh()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user