mirror of
https://codeberg.org/r4v3r23/mysu.git
synced 2024-11-25 15:22:28 +00:00
Fix trusted daemon settings
This commit is contained in:
parent
0a9d774f18
commit
384d440fe3
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue